DkmExceptionRegionUpdate.Create(DkmClrMethodId, DkmTextSpan, Int32) Method

Definition

Create a new DkmExceptionRegionUpdate 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::DkmExceptionRegionUpdate ^ Create(Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodId MethodId, Microsoft::VisualStudio::Debugger::Symbols::DkmTextSpan NewSpan, int Delta);
public static Microsoft.VisualStudio.Debugger.Clr.DkmExceptionRegionUpdate Create (Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId MethodId, Microsoft.VisualStudio.Debugger.Symbols.DkmTextSpan NewSpan, int Delta);
static member Create : Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId * Microsoft.VisualStudio.Debugger.Symbols.DkmTextSpan * int -> Microsoft.VisualStudio.Debugger.Clr.DkmExceptionRegionUpdate
Public Shared Function Create (MethodId As DkmClrMethodId, NewSpan As DkmTextSpan, Delta As Integer) As DkmExceptionRegionUpdate

Parameters

MethodId
DkmClrMethodId

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

NewSpan
DkmTextSpan

[In] Specifies where the exception region starts and ends, must be 1-based.

Delta
Int32

[In] The delta is the total of lines modified after the update.

Returns

[Out] Result of this method call.

Applies to