StackFrameExtensions.GetNativeIP(StackFrame) StackFrameExtensions.GetNativeIP(StackFrame) StackFrameExtensions.GetNativeIP(StackFrame) Method

Definition

Gets an interface pointer to the start of the native code for the method that is being executed.

public:
[System::Runtime::CompilerServices::Extension]
 static IntPtr GetNativeIP(System::Diagnostics::StackFrame ^ stackFrame);
public static IntPtr GetNativeIP (this System.Diagnostics.StackFrame stackFrame);
static member GetNativeIP : System.Diagnostics.StackFrame -> nativeint

Parameters

stackFrame
StackFrame StackFrame StackFrame

A stack frame.

Returns

An interface pointer to the start of the native code for the method that is being executed or Zero if you're targeting the .NET Framework.

Applies to