ProjectData.SetProjectError Method (Exception, Int32)

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)

[SecuritySafeCriticalAttribute]
public static void SetProjectError(
	Exception ex,
	int lErl
)

Parameters

ex
Type: System.Exception
The Exception object to be caught.
lErl
Type: System.Int32
The line number of the exception.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: