CloudTaskOperationsExtensions.Delete 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 CloudTaskDeleteResponse Delete(
    this ICloudTaskOperations operations,
    string jobId,
    string taskId,
    CloudTaskDeleteParameters parameters
)
public:
[ExtensionAttribute]
static CloudTaskDeleteResponse^ Delete(
    ICloudTaskOperations^ operations,
    String^ jobId,
    String^ taskId,
    CloudTaskDeleteParameters^ parameters
)
static member Delete : 
        operations:ICloudTaskOperations *
        jobId:string *
        taskId:string *
        parameters:CloudTaskDeleteParameters -> CloudTaskDeleteResponse
<ExtensionAttribute>
Public Shared Function Delete (
    operations As ICloudTaskOperations,
    jobId As String,
    taskId As String,
    parameters As CloudTaskDeleteParameters
) As 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: Microsoft.Azure.Batch.Protocol.Models.CloudTaskDeleteResponse

Response to a CloudTaskOperations.Delete request.

See Also

CloudTaskOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace

Return to top