StackFrameExtensions.GetNativeIP(StackFrame) Méthode

Définition

Obtient un pointeur d’interface vers le début du code natif pour la méthode en cours d’exécution.

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

Paramètres

stackFrame
StackFrame

Cadre de pile.

Retours

IntPtr

nativeint

Pointeur d'interface vers le début du code natif pour la méthode en cours d'exécution ou Zero si vous ciblez l'infrastructure .NET.

S’applique à