Marshal.GetExceptionPointers 方法

定義

擷取與電腦無關的例外狀況描述,和例外狀況發生時為執行緒保留的狀態資訊。

public:
 static IntPtr GetExceptionPointers();
public static IntPtr GetExceptionPointers ();
[System.Runtime.InteropServices.ComVisible(true)]
public static IntPtr GetExceptionPointers ();
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public static IntPtr GetExceptionPointers ();
static member GetExceptionPointers : unit -> nativeint
[<System.Runtime.InteropServices.ComVisible(true)>]
static member GetExceptionPointers : unit -> nativeint
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
static member GetExceptionPointers : unit -> nativeint
Public Shared Function GetExceptionPointers () As IntPtr

傳回

IntPtr

nativeint

EXCEPTION_POINTERS 結構指標。

屬性

備註

GetExceptionPointers 只會針對 SEH (SEH) 結構化例外狀況處理的編譯器支援公開。

適用於