Sdílet prostřednictvím


JobsOperationsExtensions.CancelAsync Method

Definition

Cancels a job on the device.

public static System.Threading.Tasks.Task CancelAsync (this Microsoft.Azure.Management.StorSimple8000Series.IJobsOperations operations, string deviceName, string jobName, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member CancelAsync : Microsoft.Azure.Management.StorSimple8000Series.IJobsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CancelAsync (operations As IJobsOperations, deviceName As String, jobName As String, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IJobsOperations

The operations group for this extension method.

deviceName
String

The device name

jobName
String

The jobName.

resourceGroupName
String

The resource group name

managerName
String

The manager name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to