DkmClrInstructionAddress.DecodeAsyncStateMachineAttribute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.