Bewerken

Delen via


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
<Extension()>
Public Function GetNativeIP (stackFrame As StackFrame) As IntPtr

Parameters

stackFrame
StackFrame

A stack frame.

Returns

IntPtr

nativeint

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