StackFrameExtensions.GetNativeImageBase(StackFrame) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.