DkmAsyncStackWalkContext.GetAsyncCallStack 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.
Gets the async call stack of this thread.
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: This API can normally only be called on the client side normally. It can be called on the remote side for script.
This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).
public:
void GetAsyncCallStack(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::CallStack::DkmGetAsyncCallStackAsyncResult> ^ CompletionRoutine);
public void GetAsyncCallStack (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.CallStack.DkmGetAsyncCallStackAsyncResult> CompletionRoutine);
member this.GetAsyncCallStack : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.CallStack.DkmGetAsyncCallStackAsyncResult> -> unit
Public Sub GetAsyncCallStack (WorkList As DkmWorkList, Thread As DkmThread, CompletionRoutine As DkmCompletionRoutine(Of DkmGetAsyncCallStackAsyncResult))
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<DkmGetAsyncCallStackAsyncResult>
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.