ExternalException.ErrorCode-Eigenschaft
Veröffentlicht: Oktober 2016
Ruft das HRESULT des Fehlers ab.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
public virtual int ErrorCode { get; }
public:
property int ErrorCode {
virtual int get();
}
abstract ErrorCode : int with get
override ErrorCode : int with get
Public Overridable ReadOnly Property ErrorCode As Integer
Eigenschaftswert
Type: System.Int32
Das HRESULT des Fehlers.
Hinweise
See Common HRESULT valueshttps://msdn.microsoft.com/library/windows/desktop/aa378137.aspx for a list of the more frequently encountered error codes. HRESULT values are defined in the Winerror.h header file.
Versionsinformationen
.NET Framework
Verfügbar seit 1.1
Silverlight
Verfügbar seit 2.0
Windows Phone Silverlight
Verfügbar seit 7.0
Siehe auch
ExternalException-Klasse
System.Runtime.InteropServices-Namespace
Zurück zum Anfang