Share via


ITaskRuntimeManagement Interface

Definition

Enables runtime management of tasks.

public interface class ITaskRuntimeManagement
public interface ITaskRuntimeManagement
type ITaskRuntimeManagement = interface
Public Interface ITaskRuntimeManagement

Methods

BeginExecuteTask(EnterpriseManagementObject, ManagementPackTask, TaskConfiguration, AsyncCallback, Object)

Begins the execution of a task.

BeginExecuteTask(ICollection<Guid>, Guid, TaskConfiguration, AsyncCallback, Object)

Begins the execution of a task.

BeginExecuteTask<T>(IEnumerable<T>, ManagementPackTask, TaskConfiguration, AsyncCallback, Object)

Begins the execution of a task.

CancelTask(Guid)

Cancells a Task which is in a Running/Suspended State.

EndExecuteTask(IAsyncResult)

Finishes task execution.

ExecuteTask(EnterpriseManagementObject, ManagementPackTask, TaskConfiguration)

Executes a task.

ExecuteTask<T>(IEnumerable<T>, ManagementPackTask, TaskConfiguration)

Executes a task.

GetTaskLogReader(Guid, TaskLogMessageCriteria)

Retrieves TaskLogReader for this task instance

GetTaskResults()

Retrieves all the TaskResult objects in the management group by criteria.

GetTaskResults(Guid, TaskResultCriteria, TraversalDepth)

Retrieves all the task result objects for the instance..

GetTaskResults(TaskResultCriteria)

Retrieves all the TaskResult objects in the management group by criteria.

GetTaskResults(TaskResultCriteria, ManagementPackClass)

Retrieves all the TaskResult objects in the management group by criteria.

GetTaskResultsByBatchId(Guid)

Retrieves a task result

GetTaskResultsReader(Guid, TaskResultCriteria, TraversalDepth)

Retrieves all the TaskResult objects for this monitoring object.

GetTaskResultsReader(TaskResultCriteria, Nullable<Guid>)

Retrieves all the TaskResult objects in the management group by criteria.

MonitoringTaskStatusNotification(Object)

Task callback for the object provided by any of the async task submission methods.

RegisterMonitoringTaskCallback(Guid, TaskStatusChangeCallback)

Registers the callback for the given batch id and callback.

RemoveMonitoringTaskCallback(Guid)

Remove the callback for the given batch id.

ResumeTask(Guid)

Resumes a Task which is in a Suspended State.

SubmitTask(EnterpriseManagementObject, ManagementPackTask, TaskConfiguration)

Submits a task targeted toward this monitoring object.

SubmitTask(EnterpriseManagementObject, ManagementPackTask, TaskConfiguration, TaskStatusChangeCallback)

Submits a task targeted toward this monitoring object.

SubmitTask<T>(IEnumerable<T>, ManagementPackTask, TaskConfiguration)

Submits a task targeted to a collection of monitoring objects and returns a batch id for getting results manually

SubmitTask<T>(IEnumerable<T>, ManagementPackTask, TaskConfiguration, TaskStatusChangeCallback)

Submits a task targeted to a collection of monitoring objects and returns a batch id under which the tasks were executed.

Caller will be called back on the specified callback when any of task results change for the batch, with the new results.

SuspendTask(Guid)

Suspends a task which is in a Running State.

UnregisterTaskStatusChangeCallback(Guid)

Unregisters the callback for the given batch id.

UnregisterTaskStatusChangeCallback(IAsyncResult)

Unregisters the underlying callback for the IAsyncResult provided by any of the async task submission methods.

Applies to