ProjectData.SetProjectError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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 |
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
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
- lErl
- Int32
The line number of the exception.
Remarks
For more information, see Err.