다음을 통해 공유


RMPackagingException.GetExceptionFromErrorCode(Int32) Method

Definition

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.

Applies to