NetworkInformationException.ErrorCode Property

Definition

Gets the Win32 error code for this exception.

public:
 virtual property int ErrorCode { int get(); };
public:
 property int ErrorCode { int get(); };
public override int ErrorCode { get; }
public int ErrorCode { get; }
member this.ErrorCode : int
Public Overrides ReadOnly Property ErrorCode As Integer
Public ReadOnly Property ErrorCode As Integer

Property Value

An Int32 value that contains the Win32 error code.

Remarks

The value of this property is set by the constructor. This property is overridden to return a Win32 error code instead of an HRESULT value.

Applies to