IDkmManagedTaskServices158.GetActiveTaskAddressesForThread Method

Definition

Overloads

GetActiveTaskAddressesForThread(DkmClrAppDomain, DkmThread)

Gets the active tasks object addresses of the given thread using heap inspection and enumerating GC roots.

GetActiveTaskAddressesForThread(DkmClrAppDomain, DkmWorkList, DkmThread, DkmCompletionRoutine<DkmGetActiveTaskAddressesForThreadAsyncResult>)

Gets the active tasks object addresses of the given thread using heap inspection and enumerating GC roots.

GetActiveTaskAddressesForThread(DkmClrAppDomain, DkmThread)

Gets the active tasks object addresses of the given thread using heap inspection and enumerating GC roots.

public:
 cli::array <System::UInt64> ^ GetActiveTaskAddressesForThread(Microsoft::VisualStudio::Debugger::Clr::DkmClrAppDomain ^ appDomain, Microsoft::VisualStudio::Debugger::DkmThread ^ thread);
public ulong[] GetActiveTaskAddressesForThread (Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain appDomain, Microsoft.VisualStudio.Debugger.DkmThread thread);
abstract member GetActiveTaskAddressesForThread : Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain * Microsoft.VisualStudio.Debugger.DkmThread -> uint64[]
Public Function GetActiveTaskAddressesForThread (appDomain As DkmClrAppDomain, thread As DkmThread) As ULong()

Parameters

appDomain
DkmClrAppDomain

[In] DkmClrAppDomain represents a CLR app domain inside a process which is being debugged.

thread
DkmThread

[In] The thread.

Returns

UInt64[]

[Out] The active tasks for this thread.

Applies to

GetActiveTaskAddressesForThread(DkmClrAppDomain, DkmWorkList, DkmThread, DkmCompletionRoutine<DkmGetActiveTaskAddressesForThreadAsyncResult>)

Gets the active tasks object addresses of the given thread using heap inspection and enumerating GC roots.

public:
 void GetActiveTaskAddressesForThread(Microsoft::VisualStudio::Debugger::Clr::DkmClrAppDomain ^ appDomain, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, Microsoft::VisualStudio::Debugger::DkmThread ^ thread, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Clr::DkmGetActiveTaskAddressesForThreadAsyncResult> ^ completionRoutine);
public void GetActiveTaskAddressesForThread (Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain appDomain, Microsoft.VisualStudio.Debugger.DkmWorkList workList, Microsoft.VisualStudio.Debugger.DkmThread thread, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Clr.DkmGetActiveTaskAddressesForThreadAsyncResult> completionRoutine);
abstract member GetActiveTaskAddressesForThread : Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain * Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Clr.DkmGetActiveTaskAddressesForThreadAsyncResult> -> unit
Public Sub GetActiveTaskAddressesForThread (appDomain As DkmClrAppDomain, workList As DkmWorkList, thread As DkmThread, completionRoutine As DkmCompletionRoutine(Of DkmGetActiveTaskAddressesForThreadAsyncResult))

Parameters

appDomain
DkmClrAppDomain

[In] DkmClrAppDomain represents a CLR app domain inside a process which is being debugged.

workList
DkmWorkList

WorkList which is currently being processed. This value can be used to check for cancelation or to append additional work. New work items will not begin executing until after this function returns.

thread
DkmThread

[In] The thread.

completionRoutine
DkmCompletionRoutine<DkmGetActiveTaskAddressesForThreadAsyncResult>

Routine to fire when the request is complete. This will be implicitly fired if the implementation returns failure from this interface method. The implementation must fire this method in all other scenarios.

Applies to