DkmClrInstructionAddress.DecodeAsyncStateMachineAttribute 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取该类型的 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 方法开头的指令地址。