Share via


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

See also

Reference

LocalizedException class

LocalizedException members

Microsoft.Exchange.Data.Common namespace