Partilhar via


DataTransferJobGetResultResource.Cancel(CancellationToken) Método

Definição

Cancela um trabalho de transferência de dados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/dataTransferJobs/{jobName}/cancel
  • Operação IdDataTransferJobs_Cancel
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)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a