Share via


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
'Usage
Dim e As Exception
Dim returnValue As Integer

returnValue = LocalizedException.GenerateErrorCode(e)
public static int GenerateErrorCode(
    Exception e
)

Parameters

Return value

Type: System.Int32

See also

Reference

LocalizedException class

LocalizedException members

Microsoft.Exchange.Data.Common namespace