DkmClrInstructionAddress.DecodeAsyncStateMachineAttribute 方法

定义

获取该类型的 MoveNext 方法的 Async State Machine 类型和方法标记。

位置约束:必须从监视组件 (组件级别 < 100,000) 调用 API。

此 API 是在 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

返回

[Out,可选]由目标方法上的 属性引用的 AsyncStateMachine 上 MoveNext 方法开头的指令地址。

适用于