JobsOperationsExtensions.CancelAsync 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.
CancelJob.
public static System.Threading.Tasks.Task CancelAsync (this Microsoft.Azure.Management.DataBox.IJobsOperations operations, string resourceGroupName, string jobName, string reason, System.Threading.CancellationToken cancellationToken = default);
static member CancelAsync : Microsoft.Azure.Management.DataBox.IJobsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CancelAsync (operations As IJobsOperations, resourceGroupName As String, jobName As String, reason As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IJobsOperations
The operations group for this extension method.
- resourceGroupName
- String
The Resource Group Name
- jobName
- String
The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
- reason
- String
Reason for cancellation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET