Share via


DkmActiveStatement.Create Method

Definition

Create a new DkmActiveStatement object instance.

This API was introduced in Visual Studio 15 Update 5 (DkmApiVersion.VS15Update5).

public:
 static Microsoft::VisualStudio::Debugger::Clr::DkmActiveStatement ^ Create(int Id, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::Debugger::Symbols::DkmInstructionSymbol ^ InstructionSymbol, Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionAddress ^ InstructionAddress, System::UInt32 ExecutingMethodVersion, Microsoft::VisualStudio::Debugger::Clr::DkmActiveStatementFlags Flags);
public static Microsoft.VisualStudio.Debugger.Clr.DkmActiveStatement Create (int Id, Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol InstructionSymbol, Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress InstructionAddress, uint ExecutingMethodVersion, Microsoft.VisualStudio.Debugger.Clr.DkmActiveStatementFlags Flags);
static member Create : int * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol * Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress * uint32 * Microsoft.VisualStudio.Debugger.Clr.DkmActiveStatementFlags -> Microsoft.VisualStudio.Debugger.Clr.DkmActiveStatement
Public Shared Function Create (Id As Integer, Thread As DkmThread, InstructionSymbol As DkmInstructionSymbol, InstructionAddress As DkmClrInstructionAddress, ExecutingMethodVersion As UInteger, Flags As DkmActiveStatementFlags) As DkmActiveStatement

Parameters

Id
Int32

[In] Incrementing id to identify the statement (0, 1, 2, ..).

Thread
DkmThread

[In] Thread that this statement belongs to.

InstructionSymbol
DkmInstructionSymbol

[In] Provides method token, version info.

InstructionAddress
DkmClrInstructionAddress

[In] Specifies address of the statement.

ExecutingMethodVersion
UInt32

[In] Method version.

Flags
DkmActiveStatementFlags

[In] Specifies location/additional information of this active statement.

Returns

[Out] Result of this method call.

Applies to