Partager 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
public int ErrorCode { get; set; }
public:
property int ErrorCode {
    int get ();
    void set (int value);
}
/** @property */
public int get_ErrorCode ()

/** @property */
public void set_ErrorCode (int value)
public function get ErrorCode () : int

public function set ErrorCode (value : int)

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