DkmTaskProvider.GetTasks(Boolean, UInt32, UInt32, DkmTask[], UInt32) Method

Definition

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

Location constraint: API must be called from an IDE component (component level > 100,000).

public:
 void GetTasks(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 (bool IsRoot, uint RequestCount, out uint ScheduledTaskCount, out Microsoft.VisualStudio.Debugger.ParallelTasks.DkmTask[] Items, out uint TaskEnumFlags);
member this.GetTasks : bool * uint32 * uint32 * DkmTask[] * uint32 -> unit
Public Sub GetTasks (IsRoot As Boolean, RequestCount As UInteger, ByRef ScheduledTaskCount As UInteger, ByRef Items As DkmTask(), ByRef TaskEnumFlags As UInteger)

Parameters

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