다음을 통해 공유


LocalizedException.GenerateErrorCode Method

The GenerateErrorCode method uses information in the exception argument e to generate an error code.

Namespace: Microsoft.Exchange.Data.Common
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Shared Function GenerateErrorCode ( _
    e As Exception _
) As Integer
public static int GenerateErrorCode (
    Exception e
)
public:
static int GenerateErrorCode (
    Exception^ e
)
public static int GenerateErrorCode (
    Exception e
)
public static function GenerateErrorCode (
    e : Exception
) : int

Parameters

  • e
    The exception on which to base the error code.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003