IngestionClient.GetOperationAsync 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 |
|---|---|
| GetOperationAsync(Guid, RequestContext) |
[Protocol Method] Get an operation of a geo-catalog collection
|
| GetOperationAsync(Guid, CancellationToken) |
Get an operation of a geo-catalog collection. |
GetOperationAsync(Guid, RequestContext)
- Source:
- IngestionClient.cs
[Protocol Method] Get an 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> GetOperationAsync(Guid operationId, Azure.RequestContext context);
abstract member GetOperationAsync : Guid * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetOperationAsync : Guid * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetOperationAsync (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
GetOperationAsync(Guid, CancellationToken)
- Source:
- IngestionClient.cs
Get an operation of a geo-catalog collection.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.PlanetaryComputerOperation>> GetOperationAsync(Guid operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.PlanetaryComputerOperation>>
override this.GetOperationAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.PlanetaryComputerOperation>>
Public Overridable Function GetOperationAsync (operationId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PlanetaryComputerOperation))
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.