IJobOperations.DeleteAsync Method (String, CancellationToken)
Deletes a job.
Namespace: Microsoft.WindowsAzure.Scheduler
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)
Syntax
Task<AzureOperationResponse> DeleteAsync(
string jobId,
CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ DeleteAsync(
String^ jobId,
CancellationToken cancellationToken
)
abstract DeleteAsync :
jobId:string *
cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function DeleteAsync (
jobId As String,
cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)
Parameters
jobId
Type: System.StringId of the job to delete.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
IJobOperations Interface
Microsoft.WindowsAzure.Scheduler Namespace
Return to top