IngestionClient.CancelOperation 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.
Overloads
| Name | Description |
|---|---|
| CancelOperation(Guid, RequestContext) |
[Protocol Method] Cancel a running operation of a geo-catalog collection
|
| CancelOperation(Guid, CancellationToken) |
Cancel a running operation of a geo-catalog collection. |
CancelOperation(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 Azure.Response CancelOperation(Guid operationId, Azure.RequestContext context);
abstract member CancelOperation : Guid * Azure.RequestContext -> Azure.Response
override this.CancelOperation : Guid * Azure.RequestContext -> Azure.Response
Public Overridable Function CancelOperation (operationId As Guid, context As RequestContext) As 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
CancelOperation(Guid, CancellationToken)
- Source:
- IngestionClient.cs
Cancel a running operation of a geo-catalog collection.
public virtual Azure.Response CancelOperation(Guid operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member CancelOperation : Guid * System.Threading.CancellationToken -> Azure.Response
override this.CancelOperation : Guid * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function CancelOperation (operationId As Guid, Optional cancellationToken As CancellationToken = Nothing) As 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.