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
e
Type: System.ExceptionThe exception on which to base the error code.
Return value
Type: System.Int32