共用方式為


ITaskOperations Interface

Definition

TaskOperations operations.

public interface ITaskOperations
type ITaskOperations = interface
Public Interface ITaskOperations

Methods

AddCollectionWithHttpMessagesAsync(String, IList<TaskAddParameter>, TaskAddCollectionOptions, Dictionary<String,List<String>>, CancellationToken)

Adds a collection of Tasks to the specified Job.

AddWithHttpMessagesAsync(String, TaskAddParameter, TaskAddOptions, Dictionary<String,List<String>>, CancellationToken)

Adds a Task to the specified Job.

DeleteWithHttpMessagesAsync(String, String, TaskDeleteOptions, Dictionary<String,List<String>>, CancellationToken)

Deletes a Task from the specified Job.

GetWithHttpMessagesAsync(String, String, TaskGetOptions, Dictionary<String,List<String>>, CancellationToken)

Gets information about the specified Task.

ListNextWithHttpMessagesAsync(String, TaskListNextOptions, Dictionary<String,List<String>>, CancellationToken)

Lists all of the Tasks that are associated with the specified Job.

ListSubtasksWithHttpMessagesAsync(String, String, TaskListSubtasksOptions, Dictionary<String,List<String>>, CancellationToken)

Lists all of the subtasks that are associated with the specified multi-instance Task.

ListWithHttpMessagesAsync(String, TaskListOptions, Dictionary<String,List<String>>, CancellationToken)

Lists all of the Tasks that are associated with the specified Job.

ReactivateWithHttpMessagesAsync(String, String, TaskReactivateOptions, Dictionary<String,List<String>>, CancellationToken)

Reactivates a Task, allowing it to run again even if its retry count has been exhausted.

TerminateWithHttpMessagesAsync(String, String, TaskTerminateOptions, Dictionary<String,List<String>>, CancellationToken)

Terminates the specified Task.

UpdateWithHttpMessagesAsync(String, String, TaskConstraints, TaskUpdateOptions, Dictionary<String,List<String>>, CancellationToken)

Updates the properties of the specified Task.

Extension Methods

Add(ITaskOperations, String, TaskAddParameter, TaskAddOptions)

Adds a Task to the specified Job.

AddAsync(ITaskOperations, String, TaskAddParameter, TaskAddOptions, CancellationToken)

Adds a Task to the specified Job.

AddCollection(ITaskOperations, String, IList<TaskAddParameter>, TaskAddCollectionOptions)

Adds a collection of Tasks to the specified Job.

AddCollectionAsync(ITaskOperations, String, IList<TaskAddParameter>, TaskAddCollectionOptions, CancellationToken)

Adds a collection of Tasks to the specified Job.

Delete(ITaskOperations, String, String, TaskDeleteOptions)

Deletes a Task from the specified Job.

DeleteAsync(ITaskOperations, String, String, TaskDeleteOptions, CancellationToken)

Deletes a Task from the specified Job.

Get(ITaskOperations, String, String, TaskGetOptions)

Gets information about the specified Task.

GetAsync(ITaskOperations, String, String, TaskGetOptions, CancellationToken)

Gets information about the specified Task.

List(ITaskOperations, String, TaskListOptions)

Lists all of the Tasks that are associated with the specified Job.

ListAsync(ITaskOperations, String, TaskListOptions, CancellationToken)

Lists all of the Tasks that are associated with the specified Job.

ListNext(ITaskOperations, String, TaskListNextOptions)

Lists all of the Tasks that are associated with the specified Job.

ListNextAsync(ITaskOperations, String, TaskListNextOptions, CancellationToken)

Lists all of the Tasks that are associated with the specified Job.

ListSubtasks(ITaskOperations, String, String, TaskListSubtasksOptions)

Lists all of the subtasks that are associated with the specified multi-instance Task.

ListSubtasksAsync(ITaskOperations, String, String, TaskListSubtasksOptions, CancellationToken)

Lists all of the subtasks that are associated with the specified multi-instance Task.

Reactivate(ITaskOperations, String, String, TaskReactivateOptions)

Reactivates a Task, allowing it to run again even if its retry count has been exhausted.

ReactivateAsync(ITaskOperations, String, String, TaskReactivateOptions, CancellationToken)

Reactivates a Task, allowing it to run again even if its retry count has been exhausted.

Terminate(ITaskOperations, String, String, TaskTerminateOptions)

Terminates the specified Task.

TerminateAsync(ITaskOperations, String, String, TaskTerminateOptions, CancellationToken)

Terminates the specified Task.

Update(ITaskOperations, String, String, TaskConstraints, TaskUpdateOptions)

Updates the properties of the specified Task.

UpdateAsync(ITaskOperations, String, String, TaskConstraints, TaskUpdateOptions, CancellationToken)

Updates the properties of the specified Task.

Applies to