LocalizedException.ErrorCode Property

The ErrorCode property gets or sets the error code for this LocalizedException object.

Namespace:  Microsoft.Exchange.Data.Common
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Property ErrorCode As Integer
    Get
    Set
'Usage
Dim instance As LocalizedException
Dim value As Integer

value = instance.ErrorCode

instance.ErrorCode = value
public int ErrorCode { get; set; }

Property Value

Type: System.Int32