StacClient.GetItemCollectionAsync 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 |
|---|---|
| GetItemCollectionAsync(GetItemCollectionOptions, RequestContext) |
[Protocol Method] Fetch features of the feature collection with id
|
| GetItemCollectionAsync(GetItemCollectionOptions, CancellationToken) |
Fetch features of the feature collection with id |
GetItemCollectionAsync(GetItemCollectionOptions, RequestContext)
- Source:
- StacClient.cs
[Protocol Method] Fetch features of the feature collection with id collectionId.
Every feature in a dataset belongs to a collection. A dataset may
consist of multiple feature collections. A feature collection is often a
collection of features of a similar type, based on a common schema.
- 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> GetItemCollectionAsync(Azure.Analytics.PlanetaryComputer.GetItemCollectionOptions options, Azure.RequestContext context);
abstract member GetItemCollectionAsync : Azure.Analytics.PlanetaryComputer.GetItemCollectionOptions * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetItemCollectionAsync : Azure.Analytics.PlanetaryComputer.GetItemCollectionOptions * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetItemCollectionAsync (options As GetItemCollectionOptions, context As RequestContext) As Task(Of Response)
Parameters
- options
- GetItemCollectionOptions
The options for the getItemCollection request.
- 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
options is null.
Service returned a non-success status code.
Applies to
GetItemCollectionAsync(GetItemCollectionOptions, CancellationToken)
- Source:
- StacClient.cs
Fetch features of the feature collection with id collectionId.
Every feature in a dataset belongs to a collection. A dataset may
consist of multiple feature collections. A feature collection is often a
collection of features of a similar type, based on a common schema.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.StacItemCollection>> GetItemCollectionAsync(Azure.Analytics.PlanetaryComputer.GetItemCollectionOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetItemCollectionAsync : Azure.Analytics.PlanetaryComputer.GetItemCollectionOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.StacItemCollection>>
override this.GetItemCollectionAsync : Azure.Analytics.PlanetaryComputer.GetItemCollectionOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.StacItemCollection>>
Public Overridable Function GetItemCollectionAsync (options As GetItemCollectionOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StacItemCollection))
Parameters
- options
- GetItemCollectionOptions
The options for the getItemCollection request.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
options is null.
Service returned a non-success status code.