Share via


DkmEnumerateBackgroundTasksAsyncResult Struct

Definition

Result of an asynchronous DkmTransportConnection.EnumerateBackgroundTasks call.

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

Constructors

DkmEnumerateBackgroundTasksAsyncResult(Guid[], String[])

Creates a new result structure to hold the output from a successful call to DkmTransportConnection.EnumerateBackgroundTasks.

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.

TaskIds

Background task ids (GUIDs).

TaskNames

Background task names.

Methods

CreateErrorResult(Exception)

Creates a new result structure to hold the error from a failed call to DkmTransportConnection.EnumerateBackgroundTasks.

Applies to