Marshal.GetExceptionCode Methode

Definition

Achtung

GetExceptionCode() may be unavailable in future releases.

Ruft einen Code ab, der den Typ der aufgetretenen Ausnahme bezeichnet.

public:
 static int GetExceptionCode();
[System.Obsolete("GetExceptionCode() may be unavailable in future releases.")]
[System.Security.SecurityCritical]
public static int GetExceptionCode ();
[System.Obsolete("GetExceptionCode() may be unavailable in future releases.")]
public static int GetExceptionCode ();
public static int GetExceptionCode ();
[System.Security.SecurityCritical]
public static int GetExceptionCode ();
[<System.Obsolete("GetExceptionCode() may be unavailable in future releases.")>]
[<System.Security.SecurityCritical>]
static member GetExceptionCode : unit -> int
[<System.Obsolete("GetExceptionCode() may be unavailable in future releases.")>]
static member GetExceptionCode : unit -> int
static member GetExceptionCode : unit -> int
[<System.Security.SecurityCritical>]
static member GetExceptionCode : unit -> int
Public Shared Function GetExceptionCode () As Integer

Gibt zurück

Der Typ der Ausnahme.

Attribute

Hinweise

GetExceptionCode wird nur für die Compilerunterstützung der strukturierten Ausnahmebehandlung (SEH) verfügbar gemacht. Wenn diese Methode aufgerufen wird, bevor eine Ausnahme ausgelöst wird, gibt sie 0x0 zurück.

Gilt für: