Marshal.GetExceptionPointers 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取與電腦無關的例外狀況描述,和例外狀況發生時為執行緒保留的狀態資訊。
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) 。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應