Share via


IDkmTaskProvider.GetTasks Method

Definition

Enumerates the current set of tasks running in the target process. Note: deprecated in favor of DkmTaskProviderOperationContext.GetTasksAsync.

public:
 void GetTasks(Microsoft::VisualStudio::Debugger::ParallelTasks::DkmTaskProvider ^ taskProvider, bool isRoot, System::UInt32 requestCount, [Runtime::InteropServices::Out] System::UInt32 % scheduledTaskCount, [Runtime::InteropServices::Out] cli::array <Microsoft::VisualStudio::Debugger::ParallelTasks::DkmTask ^> ^ % items, [Runtime::InteropServices::Out] System::UInt32 % taskEnumFlags);
public void GetTasks (Microsoft.VisualStudio.Debugger.ParallelTasks.DkmTaskProvider taskProvider, bool isRoot, uint requestCount, out uint scheduledTaskCount, out Microsoft.VisualStudio.Debugger.ParallelTasks.DkmTask[] items, out uint taskEnumFlags);
public void GetTasks (Microsoft.VisualStudio.Debugger.ParallelTasks.DkmTaskProvider taskProvider, bool isRoot, uint requestCount, out uint scheduledTaskCount, out Microsoft.VisualStudio.Debugger.ParallelTasks.DkmTask[]? items, out uint taskEnumFlags);
abstract member GetTasks : Microsoft.VisualStudio.Debugger.ParallelTasks.DkmTaskProvider * bool * uint32 * uint32 * DkmTask[] * uint32 -> unit
Public Sub GetTasks (taskProvider As DkmTaskProvider, isRoot As Boolean, requestCount As UInteger, ByRef scheduledTaskCount As UInteger, ByRef items As DkmTask(), ByRef taskEnumFlags As UInteger)

Parameters

taskProvider
DkmTaskProvider

[In] Represents a task provider which is loaded into the target process.

isRoot
Boolean

[In] TODO.

requestCount
UInt32

[In] Count of tasks requested.

scheduledTaskCount
UInt32

[Out] Number of scheduled tasks.

items
DkmTask[]

[Out] Array contained the found tasks.

taskEnumFlags
UInt32

[Out] TODO.

Applies to