Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ProjectData::CreateProjectError Method (Int32)

 

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

For more information, see Raise.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show:
© 2017 Microsoft