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) (结构化异常处理。

适用于