StackFrameExtensions.GetNativeImageBase(StackFrame) 方法

定义

返回指向此堆栈帧正在执行的本机映像基址的指针。

public:
[System::Runtime::CompilerServices::Extension]
 static IntPtr GetNativeImageBase(System::Diagnostics::StackFrame ^ stackFrame);
public static IntPtr GetNativeImageBase(this System.Diagnostics.StackFrame stackFrame);
static member GetNativeImageBase : System.Diagnostics.StackFrame -> nativeint
<Extension()>
Public Function GetNativeImageBase (stackFrame As StackFrame) As IntPtr

参数

stackFrame
StackFrame

堆栈帧。

返回

IntPtr

nativeint

如果面向 .NET Framework,则指向本机映像的基址或 Zero 的指针。

适用于

另请参阅