IDkmLanguageAsyncStepper.GetAsyncMethodIdentity 方法

定义

此方法返回异步方法的标识。 这用于设置用于单步执行 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

中提供用于计算表达式的上下文的堆栈帧。

返回

ICorDebugHandleValue

弄异步方法的标识。

适用于