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
operations
Type: Microsoft.Azure.Batch.Protocol.ICloudTaskOperationsReference to the Microsoft.Azure.Batch.Protocol.ICloudTaskOperations.
jobId
Type: System.StringRequired. The id of the job from which to delete the task.
taskId
Type: System.StringRequired. The id of the task to delete.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.CloudTaskDeleteParametersRequired. The parameters for the request.
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