IDkmLanguageAsyncStepper.GetAsyncMethodIdentity 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此方法返回异步方法的标识。 这用于设置用于单步执行 await 表达式的条件断点。
public:
Microsoft::VisualStudio::CorDebugInterop::ICorDebugHandleValue ^ GetAsyncMethodIdentity(Microsoft::VisualStudio::Debugger::Evaluation::DkmLanguageInstructionAddress ^ languageInstructionAddress, Microsoft::VisualStudio::Debugger::DkmThread ^ thread);
public Microsoft.VisualStudio.CorDebugInterop.ICorDebugHandleValue GetAsyncMethodIdentity (Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguageInstructionAddress languageInstructionAddress, Microsoft.VisualStudio.Debugger.DkmThread thread);
abstract member GetAsyncMethodIdentity : Microsoft.VisualStudio.Debugger.Evaluation.DkmLanguageInstructionAddress * Microsoft.VisualStudio.Debugger.DkmThread -> Microsoft.VisualStudio.CorDebugInterop.ICorDebugHandleValue
Public Function GetAsyncMethodIdentity (languageInstructionAddress As DkmLanguageInstructionAddress, thread As DkmThread) As ICorDebugHandleValue
参数
- languageInstructionAddress
- DkmLanguageInstructionAddress
中在说明地址与应该用于对其进行解码的语言之间配对。
- thread
- DkmThread
中提供用于计算表达式的上下文的堆栈帧。
返回
弄异步方法的标识。