Share via


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.

public:
 static Microsoft::VisualStudio::Debugger::DkmWorkList ^ Create(Microsoft::VisualStudio::Debugger::DkmWorkListCompletionRoutine ^ CompletionRoutine);
public static Microsoft.VisualStudio.Debugger.DkmWorkList Create (Microsoft.VisualStudio.Debugger.DkmWorkListCompletionRoutine CompletionRoutine);
public static Microsoft.VisualStudio.Debugger.DkmWorkList Create (Microsoft.VisualStudio.Debugger.DkmWorkListCompletionRoutine? CompletionRoutine);
static member Create : Microsoft.VisualStudio.Debugger.DkmWorkListCompletionRoutine -> Microsoft.VisualStudio.Debugger.DkmWorkList
Public Shared Function Create (CompletionRoutine As DkmWorkListCompletionRoutine) As DkmWorkList

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

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.

public static Microsoft.VisualStudio.Debugger.DkmWorkList Create (Microsoft.VisualStudio.Debugger.DkmWorkListCompletionRoutine? CompletionRoutine, Microsoft.VisualStudio.Debugger.DkmWorkListProgressRoutine? ProgressRoutine);
static member Create : Microsoft.VisualStudio.Debugger.DkmWorkListCompletionRoutine * Microsoft.VisualStudio.Debugger.DkmWorkListProgressRoutine -> Microsoft.VisualStudio.Debugger.DkmWorkList
Public Shared Function Create (CompletionRoutine As DkmWorkListCompletionRoutine, ProgressRoutine As DkmWorkListProgressRoutine) As DkmWorkList

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