Share via


Marshal.GetExceptionCode Yöntem

Tanım

Dikkat

GetExceptionCode() may be unavailable in future releases.

Oluşan özel durumun türünü tanımlayan bir kodu alır.

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

Döndürülenler

Özel durumun türü.

Öznitelikler

Açıklamalar

GetExceptionCode yalnızca yapılandırılmış özel durum işleme (SEH) derleyici desteği için kullanıma sunulur. Bu yöntem bir özel durum oluşturmadan önce çağrılırsa, 0x0 döndürür.

Şunlara uygulanır