Επεξεργασία

Κοινή χρήση μέσω


ProjectData.CreateProjectError(Int32) Method

Definition

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

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

public:
 static Exception ^ CreateProjectError(int hr);
public static Exception CreateProjectError (int hr);
static member CreateProjectError : int -> Exception
Public Shared Function CreateProjectError (hr As Integer) As Exception

Parameters

hr
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.

Returns

An Exception object.

Remarks

For more information, see Raise.

Applies to