DkmActiveStatementUpdate.Create Method

Definition

Create a new DkmActiveStatementUpdate object instance.

Location constraint: API must be called from an IDE component (component level > 100,000).

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

public:
 static Microsoft::VisualStudio::Debugger::Clr::DkmActiveStatementUpdate ^ Create(Guid ThreadId, Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodId MethodId, int ILOffset, Microsoft::VisualStudio::Debugger::Symbols::DkmTextSpan NewSpan);
public static Microsoft.VisualStudio.Debugger.Clr.DkmActiveStatementUpdate Create (Guid ThreadId, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId MethodId, int ILOffset, Microsoft.VisualStudio.Debugger.Symbols.DkmTextSpan NewSpan);
static member Create : Guid * Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId * int * Microsoft.VisualStudio.Debugger.Symbols.DkmTextSpan -> Microsoft.VisualStudio.Debugger.Clr.DkmActiveStatementUpdate
Public Shared Function Create (ThreadId As Guid, MethodId As DkmClrMethodId, ILOffset As Integer, NewSpan As DkmTextSpan) As DkmActiveStatementUpdate

Parameters

ThreadId
Guid

[In] Thread ID of the target active statement.

MethodId
DkmClrMethodId

[In] Method ID. It has the method token for the active statement, and the method version when the change was made.

ILOffset
Int32

[In] Old IL offset for the active statement.

NewSpan
DkmTextSpan

[In] New text span for the active statement, must be 1-based.

Returns

[Out] Result of this method call.

Applies to