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
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: System.Threading.Tasks.Task<CloudTaskDeleteResponse>
Response to a CloudTaskOperations.Delete request.
See Also
CloudTaskOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace
Return to top