Marshal.GetExceptionCode Methode

Definitie

Let op

GetExceptionCode() may be unavailable in future releases.

Hiermee haalt u een code op waarmee het type uitzondering wordt geïdentificeerd dat is opgetreden.

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

Retouren

Het type uitzondering.

Kenmerken

Opmerkingen

GetExceptionCode wordt alleen beschikbaar gesteld voor compilerondersteuning van SEH (Structured Exception Handling). Als deze methode wordt aangeroepen voordat er een uitzondering wordt gegenereerd, wordt 0x0 geretourneerd.

Van toepassing op