Επεξεργασία

Κοινή χρήση μέσω


StackFrameExtensions.GetNativeImageBase(StackFrame) Method

Definition

Returns a pointer to the base address of the native image that this stack frame is executing.

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

Parameters

stackFrame
StackFrame

A stack frame.

Returns

IntPtr

nativeint

A pointer to the base address of the native image or Zero if you're targeting the .NET Framework.

Applies to

See also