Share via


TaskResultStatus Class

Definition

Collects results of generic tasks.

public ref class TaskResultStatus : IAsyncResult, IDisposable
public class TaskResultStatus : IAsyncResult, IDisposable
type TaskResultStatus = class
    interface IAsyncResult
    interface IDisposable
Public Class TaskResultStatus
Implements IAsyncResult, IDisposable
Inheritance
TaskResultStatus
Implements

Constructors

TaskResultStatus(AsyncCallback, Object, EnterpriseManagementGroup)

Constructor.

Properties

AlreadyProcessed

Indicates whether this IAsyncResult has already been processed.

AsyncState

Gets a user-defined object that qualifies or contains information about an asynchronous operation.

AsyncWaitHandle

Gets a WaitHandle that is used to wait for an asynchronous operation to complete.

BatchId

The batch id.

CompletedSynchronously

Gets an indication of whether the asynchronous operation completed synchronously.

ErrorOccurred

Whether there was an error processing the request on the server.

IsCompleted

Gets an indication whether the asynchronous operation has completed.

LockObject

The lock object

ManagementGroup

The management group this status was created in.

TaskResults

MonitoringTask results.

Methods

CloseHandle()

Closes the underlying event handle.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(Boolean)
TaskStatusNotification(Guid, IList<TaskResult>, Boolean)

MonitoringTask callback.

WaitForAllTasks()

Blocks until task completion is done.

WaitForAllTasks(Int32)

Blocks until task completion is done.

Applies to