ProjectData.CreateProjectError(Int32) 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.
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.