DkmClrInstructionAddress.DecodeAsyncStateMachineAttribute Method

Definition

Obtains the Async State Machine type and the method token of the MoveNext method on that type.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 17 RTM (DkmApiVersion.VS17RTM).

public Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress? DecodeAsyncStateMachineAttribute ();
member this.DecodeAsyncStateMachineAttribute : unit -> Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress
Public Function DecodeAsyncStateMachineAttribute () As DkmClrInstructionAddress

Returns

[Out,Optional] The instruction address of the beginning of the MoveNext method on the AsyncStateMachine referenced by the attribute on the target method.

Applies to