Marshal.GetExceptionCode 메서드

정의

주의

GetExceptionCode() may be unavailable in future releases.

발생한 예외의 형식을 식별하는 코드를 검색합니다.

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

반환

예외의 형식입니다.

특성

설명

GetExceptionCode 는 SEH(구조적 예외 처리)의 컴파일러 지원을 위해 노출됩니다. 예외가 throw되기 전에 이 메서드를 호출하면 0x0 반환됩니다.

적용 대상