Share via


JobOperations.DeleteTaskAsync Method (String, String, IEnumerable<BatchClientBehavior>)

 

Deletes the specified task.

Namespace:   Microsoft.Azure.Batch
Assembly:  Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)

Syntax

public Task DeleteTaskAsync(
    string jobId,
    string taskId,
    IEnumerable<BatchClientBehavior> additionalBehaviors = null
)
public:
Task^ DeleteTaskAsync(
    String^ jobId,
    String^ taskId,
    IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
)
member DeleteTaskAsync : 
        jobId:string *
        taskId:string *
        additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task
Public Function DeleteTaskAsync (
    jobId As String,
    taskId As String,
    additionalBehaviors As IEnumerable(Of BatchClientBehavior)
) As Task

Parameters

  • jobId
    Type: System.String

    The id of the job containing the task.

Return Value

Type: System.Threading.Tasks.Task

A Task that represents the asynchronous operation.

Remarks

The delete operation runs asynchronously.

See Also

JobOperations Class
Microsoft.Azure.Batch Namespace

Return to top