NetworkInformationException.ErrorCode Propriedade

Definição

Obtém o código Win32 de erro para essa exceção.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

Valor da propriedade

Int32

Um Int32 valor que contém o Win32 código de erro.An Int32 value that contains the Win32 error code.

Comentários

O valor dessa propriedade é definido pelo construtor.The value of this property is set by the constructor. Essa propriedade é substituída para retornar um Win32 código de erro em vez de um valor HRESULT.This property is overridden to return a Win32 error code instead of an HRESULT value.

Aplica-se a