Export (0) Print
Expand All

ProjectData.CreateProjectError Method

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

Performs the work for the Raise method of the Err object. A helper method.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public static Exception CreateProjectError(
	int hr
)

Parameters

hr
Type: System.Int32
An integer value that identifies the nature of the error. Visual Basic errors are in the range 0–65535; the range 0–512 is reserved for system errors; the range 513–65535 is available for user-defined errors.

Return Value

Type: System.Exception
An Exception object.

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:
© 2014 Microsoft