DkmAsyncStackWalkContext.GetTaskContinuationFrames Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a list of frames that will execute when this task completes. The order that the frames will execute in is arbitrary and might not be the order returned here. Only frames that will execute as a direct result of this task are included, not frames that will execute as a result of another task that will execute after this task completes.
This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.
Location constraint: API must be called from an IDE component (component level > 100,000).
This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).
public:
void GetTaskContinuationFrames(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::CallStack::DkmGetTaskContinuationFramesAsyncResult> ^ CompletionRoutine);
public void GetTaskContinuationFrames (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.CallStack.DkmGetTaskContinuationFramesAsyncResult> CompletionRoutine);
member this.GetTaskContinuationFrames : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.CallStack.DkmGetTaskContinuationFramesAsyncResult> -> unit
Public Sub GetTaskContinuationFrames (WorkList As DkmWorkList, Thread As DkmThread, CompletionRoutine As DkmCompletionRoutine(Of DkmGetTaskContinuationFramesAsyncResult))
Parameters
- WorkList
- DkmWorkList
WorkList to append the new work item to.
- Thread
- DkmThread
[In] The thread that the resultant frames should belong to.
- CompletionRoutine
- DkmCompletionRoutine<DkmGetTaskContinuationFramesAsyncResult>
Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.