RMPackagingException.GetExceptionFromErrorCode(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.
Creates an Exception based on the given error code.
public static Exception GetExceptionFromErrorCode (int ErrorCode);
static member GetExceptionFromErrorCode : int -> Exception
Public Shared Function GetExceptionFromErrorCode (ErrorCode As Integer) As Exception
Parameters
- ErrorCode
- Int32
The error code from which to construct the exception.
Returns
The Exception created.