StacClient.GetPartitionTypeAsync 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 |
|---|---|
| GetPartitionTypeAsync(String, RequestContext) |
[Protocol Method] Get the partitiontype for a GeoCatalog Collection.
|
| GetPartitionTypeAsync(String, CancellationToken) |
Get the partitiontype for a GeoCatalog Collection. |
GetPartitionTypeAsync(String, RequestContext)
- Source:
- StacClient.cs
[Protocol Method] Get the partitiontype for a GeoCatalog 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> GetPartitionTypeAsync(string collectionId, Azure.RequestContext context);
abstract member GetPartitionTypeAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetPartitionTypeAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetPartitionTypeAsync (collectionId As String, context As RequestContext) As Task(Of Response)
Parameters
- collectionId
- String
Unique identifier for the STAC collection.
- 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
collectionId is null.
collectionId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.
Applies to
GetPartitionTypeAsync(String, CancellationToken)
- Source:
- StacClient.cs
Get the partitiontype for a GeoCatalog Collection.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.PartitionKind>> GetPartitionTypeAsync(string collectionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPartitionTypeAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.PartitionKind>>
override this.GetPartitionTypeAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.PartitionKind>>
Public Overridable Function GetPartitionTypeAsync (collectionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PartitionKind))
Parameters
- collectionId
- String
Unique identifier for the STAC collection.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
collectionId is null.
collectionId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.