Share via


SetProjectError Method (Exception)

[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 _
)
public static void SetProjectError(
    Exception ex
)
public:
static void SetProjectError(
    Exception^ ex
)
static member SetProjectError : 
        ex:Exception -> unit 
public static function SetProjectError(
    ex : Exception
)

Parameters

.NET Framework Security

See Also

Reference

ProjectData Class

SetProjectError Overload

Microsoft.VisualBasic.CompilerServices Namespace