IngestionClient.CancelOperationAsync Method

Definition

Overloads

Name Description
CancelOperationAsync(Guid, CancellationToken)

Cancel a running operation of a geo-catalog collection.

CancelOperationAsync(Guid, RequestContext)

[Protocol Method] Cancel a running operation of a geo-catalog collection

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

CancelOperationAsync(Guid, CancellationToken)

Source:
IngestionClient.cs

Cancel a running operation of a geo-catalog collection.

public virtual System.Threading.Tasks.Task<Azure.Response> CancelOperationAsync(Guid operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member CancelOperationAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.CancelOperationAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function CancelOperationAsync (operationId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

operationId
Guid

Operation id.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

Service returned a non-success status code.

Applies to

CancelOperationAsync(Guid, RequestContext)

Source:
IngestionClient.cs

[Protocol Method] Cancel a running operation of a geo-catalog collection

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> CancelOperationAsync(Guid operationId, Azure.RequestContext context);
abstract member CancelOperationAsync : Guid * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.CancelOperationAsync : Guid * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function CancelOperationAsync (operationId As Guid, context As RequestContext) As Task(Of Response)

Parameters

operationId
Guid

Operation id.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

Service returned a non-success status code.

Applies to