ProjectData.SetProjectError ProjectData.SetProjectError ProjectData.SetProjectError ProjectData.SetProjectError Method

Definition

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

Overloads

SetProjectError(Exception) SetProjectError(Exception) SetProjectError(Exception) SetProjectError(Exception)

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

SetProjectError(Exception, Int32) SetProjectError(Exception, Int32) SetProjectError(Exception, Int32) SetProjectError(Exception, Int32)

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

Remarks

For more information, see Err.

SetProjectError(Exception) SetProjectError(Exception) SetProjectError(Exception) SetProjectError(Exception)

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

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 Exception Exception Exception

The Exception object to be caught.

Remarks

For more information, see Err.

SetProjectError(Exception, Int32) SetProjectError(Exception, Int32) SetProjectError(Exception, Int32) SetProjectError(Exception, Int32)

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

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 Exception Exception Exception

The Exception object to be caught.

lErl
Int32 Int32 Int32 Int32

The line number of the exception.

Remarks

For more information, see Err.

Applies to