Επεξεργασία

Κοινή χρήση μέσω


ProjectData.SetProjectError Method

Definition

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

Overloads

SetProjectError(Exception)

This API supports the product 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.

SetProjectError(Exception, Int32)

This API supports the product 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.

Remarks

For more information, see Err.

SetProjectError(Exception)

Source:
ProjectData.vb
Source:
ProjectData.vb
Source:
ProjectData.vb

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

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

public:
 static void SetProjectError(Exception ^ ex);
public static void SetProjectError (Exception ex);
public static void SetProjectError (Exception? ex);
static member SetProjectError : Exception -> unit
Public Shared Sub SetProjectError (ex As Exception)

Parameters

ex
Exception

The Exception object to be caught.

Remarks

For more information, see Err.

Applies to

SetProjectError(Exception, Int32)

Source:
ProjectData.vb
Source:
ProjectData.vb
Source:
ProjectData.vb

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

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

public:
 static void SetProjectError(Exception ^ ex, int lErl);
public static void SetProjectError (Exception ex, int lErl);
public static void SetProjectError (Exception? ex, int lErl);
static member SetProjectError : Exception * int -> unit
Public Shared Sub SetProjectError (ex As Exception, lErl As Integer)

Parameters

ex
Exception

The Exception object to be caught.

lErl
Int32

The line number of the exception.

Remarks

For more information, see Err.

Applies to