Sdílet prostřednictvím


DkmGetTasksAsyncResult Struct

Definition

Result of an asynchronous DkmTaskProviderOperationContext.GetTasksAsync call.

public value class DkmGetTasksAsyncResult
public struct DkmGetTasksAsyncResult
type DkmGetTasksAsyncResult = struct
Public Structure DkmGetTasksAsyncResult
Inheritance
DkmGetTasksAsyncResult

Constructors

DkmGetTasksAsyncResult(UInt32, DkmTask[])

Creates a new result structure to hold the output from a successful call to DkmTaskProviderOperationContext.GetTasksAsync.

Properties

ErrorCode

HRESULT code returned from the caller. This will be DkmExceptionCode.COR_E_OPERATIONCANCELED (0x8013153B) if the operation was canceled before processing was complete.

Items

Array contained the found tasks.

This API was introduced in Visual Studio 16 Update 5 (DkmApiVersion.VS16Update5).

ScheduledTaskCount

Number of scheduled tasks.

This API was introduced in Visual Studio 16 Update 5 (DkmApiVersion.VS16Update5).

Methods

CreateErrorResult(Exception)

Creates a new result structure to hold the error from a failed call to DkmTaskProviderOperationContext.GetTasksAsync.

Applies to