DkmWorkList.Create Method

Definition

Overloads

Create(DkmWorkListCompletionRoutine)

Creates a new empty work list object. Callers should append operations to the work list and then start execution ('BeginExecution' or 'Execute').

Once created, a WorkList object will continue to exist until its execution is completed, or until the request is canceled. So callers should ensure that 'Cancel' is called in the case of failure.

Create(DkmWorkListCompletionRoutine, DkmWorkListProgressRoutine)

Creates a new empty work list object. Callers should append operations to the work list and then start execution ('BeginExecution' or 'Execute').

Once created, a WorkList object will continue to exist until its execution is completed, or until the request is canceled. So callers should ensure that 'Cancel' is called in the case of failure.

Create(DkmWorkListCompletionRoutine)

Creates a new empty work list object. Callers should append operations to the work list and then start execution ('BeginExecution' or 'Execute').

Once created, a WorkList object will continue to exist until its execution is completed, or until the request is canceled. So callers should ensure that 'Cancel' is called in the case of failure.

C++
public:
 static Microsoft::VisualStudio::Debugger::DkmWorkList ^ Create(Microsoft::VisualStudio::Debugger::DkmWorkListCompletionRoutine ^ CompletionRoutine);

Parameters

CompletionRoutine
DkmWorkListCompletionRoutine

[In,Optional] Optional function which is fired when the work list is complete, including firing all completion routines.

Returns

[Out] Result of this method call.

Applies to

Visual Studio SDK 2022 i druge verzije
Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022

Create(DkmWorkListCompletionRoutine, DkmWorkListProgressRoutine)

Creates a new empty work list object. Callers should append operations to the work list and then start execution ('BeginExecution' or 'Execute').

Once created, a WorkList object will continue to exist until its execution is completed, or until the request is canceled. So callers should ensure that 'Cancel' is called in the case of failure.

C#
public static Microsoft.VisualStudio.Debugger.DkmWorkList Create(Microsoft.VisualStudio.Debugger.DkmWorkListCompletionRoutine? CompletionRoutine, Microsoft.VisualStudio.Debugger.DkmWorkListProgressRoutine? ProgressRoutine);

Parameters

CompletionRoutine
DkmWorkListCompletionRoutine

[In,Optional] Optional function which is fired when the work list is complete, including firing all completion routines.

ProgressRoutine
DkmWorkListProgressRoutine

[In,Optional] Optional function which is fired when the work list progress is updated.

Returns

[Out] Result of this method call.

Applies to

Visual Studio SDK 2022
Proizvod Verzije
Visual Studio SDK 2022