Share via


SetProjectError Method (Exception, Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The Visual Basic compiler uses this helper method to capture exceptions in the Err object.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Syntax

'Declaration
Public Shared Sub SetProjectError ( _
    ex As Exception, _
    lErl As Integer _
)
public static void SetProjectError(
    Exception ex,
    int lErl
)
public:
static void SetProjectError(
    Exception^ ex, 
    int lErl
)
static member SetProjectError : 
        ex:Exception * 
        lErl:int -> unit 
public static function SetProjectError(
    ex : Exception, 
    lErl : int
)

Parameters

.NET Framework Security

See Also

Reference

ProjectData Class

SetProjectError Overload

Microsoft.VisualBasic.CompilerServices Namespace