Share via


IDkmManagedTaskServices158.GetTaskDelegateLocationFromHandle Method

Definition

Get the location of the delegate from an ICorDebugHandleValue.

public:
 Microsoft::VisualStudio::Debugger::Clr::DkmManagedReturnStackFrame ^ GetTaskDelegateLocationFromHandle(Microsoft::VisualStudio::Debugger::CallStack::DkmAsyncStackWalkContext ^ asyncStackWalkContext, Microsoft::VisualStudio::CorDebugInterop::ICorDebugHandleValue ^ taskHandle, Microsoft::VisualStudio::Debugger::DkmThread ^ thread, Microsoft::VisualStudio::Debugger::Clr::DkmClrAppDomain ^ appDomain);
public Microsoft.VisualStudio.Debugger.Clr.DkmManagedReturnStackFrame GetTaskDelegateLocationFromHandle (Microsoft.VisualStudio.Debugger.CallStack.DkmAsyncStackWalkContext asyncStackWalkContext, Microsoft.VisualStudio.CorDebugInterop.ICorDebugHandleValue taskHandle, Microsoft.VisualStudio.Debugger.DkmThread thread, Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain appDomain);
public Microsoft.VisualStudio.Debugger.Clr.DkmManagedReturnStackFrame? GetTaskDelegateLocationFromHandle (Microsoft.VisualStudio.Debugger.CallStack.DkmAsyncStackWalkContext asyncStackWalkContext, Microsoft.VisualStudio.CorDebugInterop.ICorDebugHandleValue taskHandle, Microsoft.VisualStudio.Debugger.DkmThread thread, Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain appDomain);
abstract member GetTaskDelegateLocationFromHandle : Microsoft.VisualStudio.Debugger.CallStack.DkmAsyncStackWalkContext * Microsoft.VisualStudio.CorDebugInterop.ICorDebugHandleValue * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain -> Microsoft.VisualStudio.Debugger.Clr.DkmManagedReturnStackFrame
Public Function GetTaskDelegateLocationFromHandle (asyncStackWalkContext As DkmAsyncStackWalkContext, taskHandle As ICorDebugHandleValue, thread As DkmThread, appDomain As DkmClrAppDomain) As DkmManagedReturnStackFrame

Parameters

asyncStackWalkContext
DkmAsyncStackWalkContext

[In] Provides a context for walking async return stacks and task creation stacks.

taskHandle
ICorDebugHandleValue

[In] The ICorDebugHandleValue for the task.

thread
DkmThread

[In] The thread that the frame should belong to.

appDomain
DkmClrAppDomain

[In] The AppDomain of the task.

Returns

[Out,Optional] The task's continuation delegate, as determined from the task object itself. This might be different from the delegate obtained through walking the logical stack, which might be more accurate.

Applies to