Share via


DataTransferJobGetResultResource.Cancel(CancellationToken) Method

Definition

Cancels a Data Transfer Job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/dataTransferJobs/{jobName}/cancel
  • Operation Id: DataTransferJobs_Cancel
  • Default Api Version: 2024-09-01-preview
  • Resource: DataTransferJobGetResultResource
public virtual Azure.Response<Azure.ResourceManager.CosmosDB.DataTransferJobGetResultResource> Cancel (System.Threading.CancellationToken cancellationToken = default);
abstract member Cancel : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.DataTransferJobGetResultResource>
override this.Cancel : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.DataTransferJobGetResultResource>
Public Overridable Function Cancel (Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataTransferJobGetResultResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to