IJobOperations.DeleteAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes a job.
public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string jobId, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (jobId As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)
Parameters
- jobId
- String
Id of the job to delete.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Task<Microsoft.Azure.AzureOperationResponse>
A standard service response including an HTTP status code and request ID.