CloudTaskOperationsExtensions.DeleteAsync Method (ICloudTaskOperations, String, String, CloudTaskDeleteParameters)

 

Deletes a task from the specified job.

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

Syntax

public static Task<CloudTaskDeleteResponse> DeleteAsync(
    this ICloudTaskOperations operations,
    string jobId,
    string taskId,
    CloudTaskDeleteParameters parameters
)
public:
[ExtensionAttribute]
static Task<CloudTaskDeleteResponse^>^ DeleteAsync(
    ICloudTaskOperations^ operations,
    String^ jobId,
    String^ taskId,
    CloudTaskDeleteParameters^ parameters
)
static member DeleteAsync : 
        operations:ICloudTaskOperations *
        jobId:string *
        taskId:string *
        parameters:CloudTaskDeleteParameters -> Task<CloudTaskDeleteResponse>
<ExtensionAttribute>
Public Shared Function DeleteAsync (
    operations As ICloudTaskOperations,
    jobId As String,
    taskId As String,
    parameters As CloudTaskDeleteParameters
) As Task(Of CloudTaskDeleteResponse)

Parameters

  • jobId
    Type: System.String

    Required. The id of the job from which to delete the task.

  • taskId
    Type: System.String

    Required. The id of the task to delete.

Return Value

Type: System.Threading.Tasks.Task<CloudTaskDeleteResponse>

Response to a CloudTaskOperations.Delete request.

See Also

CloudTaskOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace

Return to top