Compartilhar via


DkmManagedReturnStackFrame.Create Method

Definition

Overloads

Create(DkmThread, DkmStackWalkFrameFlags, DkmClrMethodId, DkmClrModuleInstance, Int32, DkmAsyncStackWalkContext, DkmStackWalkFrameData)

Create a new DkmManagedReturnStackFrame object instance.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

Create(DkmThread, DkmStackWalkFrameFlags, DkmClrMethodId, DkmClrModuleInstance, Int32, DkmAsyncStackWalkContext, DkmStackWalkFrameData, Int32)

Create a new DkmManagedReturnStackFrame object instance.

This API was introduced in Visual Studio 15 Update 8 (DkmApiVersion.VS15Update8).

Create(DkmThread, DkmStackWalkFrameFlags, DkmClrMethodId, DkmClrModuleInstance, Int32, DkmAsyncStackWalkContext, DkmStackWalkFrameData, Int32, String)

Create a new DkmManagedReturnStackFrame object instance.

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

Create(DkmThread, DkmStackWalkFrameFlags, DkmClrMethodId, DkmClrModuleInstance, Int32, DkmAsyncStackWalkContext, DkmStackWalkFrameData)

Create a new DkmManagedReturnStackFrame object instance.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

public:
 static Microsoft::VisualStudio::Debugger::Clr::DkmManagedReturnStackFrame ^ Create(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrameFlags Flags, Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodId Method, Microsoft::VisualStudio::Debugger::Clr::DkmClrModuleInstance ^ ModuleInstance, int AwaitIndex, Microsoft::VisualStudio::Debugger::CallStack::DkmAsyncStackWalkContext ^ AsyncStackWalkContext, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrameData ^ Data);
public static Microsoft.VisualStudio.Debugger.Clr.DkmManagedReturnStackFrame Create (Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameFlags Flags, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId Method, Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ModuleInstance, int AwaitIndex, Microsoft.VisualStudio.Debugger.CallStack.DkmAsyncStackWalkContext AsyncStackWalkContext, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameData Data);
static member Create : Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameFlags * Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId * Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * int * Microsoft.VisualStudio.Debugger.CallStack.DkmAsyncStackWalkContext * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameData -> Microsoft.VisualStudio.Debugger.Clr.DkmManagedReturnStackFrame
Public Shared Function Create (Thread As DkmThread, Flags As DkmStackWalkFrameFlags, Method As DkmClrMethodId, ModuleInstance As DkmClrModuleInstance, AwaitIndex As Integer, AsyncStackWalkContext As DkmAsyncStackWalkContext, Data As DkmStackWalkFrameData) As DkmManagedReturnStackFrame

Parameters

Thread
DkmThread

[In] The thread that this frame belongs to.

Flags
DkmStackWalkFrameFlags

[In] Flags associated with this frame.

Method
DkmClrMethodId

[In] The managed method that this frame belongs to.

ModuleInstance
DkmClrModuleInstance

[In] The module that this method belongs to.

AwaitIndex
Int32

[In] The index of the await statement where code will transfer to when this frame later executes.

AsyncStackWalkContext
DkmAsyncStackWalkContext

[In] Context to use for continuing to walk the async return stack beyond this frame.

Data
DkmStackWalkFrameData

[In] Optional data object to associate with this frame.

Returns

[Out] Result of this method call.

Applies to

Create(DkmThread, DkmStackWalkFrameFlags, DkmClrMethodId, DkmClrModuleInstance, Int32, DkmAsyncStackWalkContext, DkmStackWalkFrameData, Int32)

Create a new DkmManagedReturnStackFrame object instance.

This API was introduced in Visual Studio 15 Update 8 (DkmApiVersion.VS15Update8).

public:
 static Microsoft::VisualStudio::Debugger::Clr::DkmManagedReturnStackFrame ^ Create(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrameFlags Flags, Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodId Method, Microsoft::VisualStudio::Debugger::Clr::DkmClrModuleInstance ^ ModuleInstance, int AwaitIndex, Microsoft::VisualStudio::Debugger::CallStack::DkmAsyncStackWalkContext ^ AsyncStackWalkContext, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrameData ^ Data, int TaskId);
public static Microsoft.VisualStudio.Debugger.Clr.DkmManagedReturnStackFrame Create (Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameFlags Flags, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId Method, Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ModuleInstance, int AwaitIndex, Microsoft.VisualStudio.Debugger.CallStack.DkmAsyncStackWalkContext AsyncStackWalkContext, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameData Data, int TaskId);
static member Create : Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameFlags * Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId * Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * int * Microsoft.VisualStudio.Debugger.CallStack.DkmAsyncStackWalkContext * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameData * int -> Microsoft.VisualStudio.Debugger.Clr.DkmManagedReturnStackFrame
Public Shared Function Create (Thread As DkmThread, Flags As DkmStackWalkFrameFlags, Method As DkmClrMethodId, ModuleInstance As DkmClrModuleInstance, AwaitIndex As Integer, AsyncStackWalkContext As DkmAsyncStackWalkContext, Data As DkmStackWalkFrameData, TaskId As Integer) As DkmManagedReturnStackFrame

Parameters

Thread
DkmThread

[In] The thread that this frame belongs to.

Flags
DkmStackWalkFrameFlags

[In] Flags associated with this frame.

Method
DkmClrMethodId

[In] The managed method that this frame belongs to.

ModuleInstance
DkmClrModuleInstance

[In] The module that this method belongs to.

AwaitIndex
Int32

[In] The index of the await statement where code will transfer to when this frame later executes.

AsyncStackWalkContext
DkmAsyncStackWalkContext

[In] Context to use for continuing to walk the async return stack beyond this frame.

Data
DkmStackWalkFrameData

[In] Optional data object to associate with this frame.

TaskId
Int32

[In] The task id of the associated task, if one exists.

Returns

[Out] Result of this method call.

Applies to

Create(DkmThread, DkmStackWalkFrameFlags, DkmClrMethodId, DkmClrModuleInstance, Int32, DkmAsyncStackWalkContext, DkmStackWalkFrameData, Int32, String)

Create a new DkmManagedReturnStackFrame object instance.

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

public:
 static Microsoft::VisualStudio::Debugger::Clr::DkmManagedReturnStackFrame ^ Create(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrameFlags Flags, Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodId Method, Microsoft::VisualStudio::Debugger::Clr::DkmClrModuleInstance ^ ModuleInstance, int AwaitIndex, Microsoft::VisualStudio::Debugger::CallStack::DkmAsyncStackWalkContext ^ AsyncStackWalkContext, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrameData ^ Data, int TaskId, System::String ^ Description);
public static Microsoft.VisualStudio.Debugger.Clr.DkmManagedReturnStackFrame Create (Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameFlags Flags, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId Method, Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ModuleInstance, int AwaitIndex, Microsoft.VisualStudio.Debugger.CallStack.DkmAsyncStackWalkContext AsyncStackWalkContext, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameData Data, int TaskId, string Description);
public static Microsoft.VisualStudio.Debugger.Clr.DkmManagedReturnStackFrame Create (Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameFlags Flags, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId Method, Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ModuleInstance, int AwaitIndex, Microsoft.VisualStudio.Debugger.CallStack.DkmAsyncStackWalkContext AsyncStackWalkContext, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameData Data, int TaskId, string? Description);
static member Create : Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameFlags * Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId * Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * int * Microsoft.VisualStudio.Debugger.CallStack.DkmAsyncStackWalkContext * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrameData * int * string -> Microsoft.VisualStudio.Debugger.Clr.DkmManagedReturnStackFrame
Public Shared Function Create (Thread As DkmThread, Flags As DkmStackWalkFrameFlags, Method As DkmClrMethodId, ModuleInstance As DkmClrModuleInstance, AwaitIndex As Integer, AsyncStackWalkContext As DkmAsyncStackWalkContext, Data As DkmStackWalkFrameData, TaskId As Integer, Description As String) As DkmManagedReturnStackFrame

Parameters

Thread
DkmThread

[In] The thread that this frame belongs to.

Flags
DkmStackWalkFrameFlags

[In] Flags associated with this frame.

Method
DkmClrMethodId

[In] The managed method that this frame belongs to.

ModuleInstance
DkmClrModuleInstance

[In] The module that this method belongs to.

AwaitIndex
Int32

[In] The index of the await statement where code will transfer to when this frame later executes.

AsyncStackWalkContext
DkmAsyncStackWalkContext

[In] Context to use for continuing to walk the async return stack beyond this frame.

Data
DkmStackWalkFrameData

[In] Optional data object to associate with this frame.

TaskId
Int32

[In] The task id of the associated task, if one exists.

Description
String

[In,Optional] Description of the frame which will be displayed in the call stack window.

Returns

[Out] Result of this method call.

Applies to