DataClient.GetSearchPointWithAssetsAsync 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 |
|---|---|
| GetSearchPointWithAssetsAsync(GetSearchPointWithAssetsOptions, RequestContext) |
[Protocol Method] Return a list of assets for a given point in a search.
|
| GetSearchPointWithAssetsAsync(GetSearchPointWithAssetsOptions, CancellationToken) |
Return a list of assets for a given point in a search. |
GetSearchPointWithAssetsAsync(GetSearchPointWithAssetsOptions, RequestContext)
- Source:
- DataClient.cs
[Protocol Method] Return a list of assets for a given point in a search.
- 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> GetSearchPointWithAssetsAsync(Azure.Analytics.PlanetaryComputer.GetSearchPointWithAssetsOptions options, Azure.RequestContext context);
abstract member GetSearchPointWithAssetsAsync : Azure.Analytics.PlanetaryComputer.GetSearchPointWithAssetsOptions * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetSearchPointWithAssetsAsync : Azure.Analytics.PlanetaryComputer.GetSearchPointWithAssetsOptions * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetSearchPointWithAssetsAsync (options As GetSearchPointWithAssetsOptions, context As RequestContext) As Task(Of Response)
Parameters
- options
- GetSearchPointWithAssetsOptions
The options for the getSearchPointWithAssets 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
GetSearchPointWithAssetsAsync(GetSearchPointWithAssetsOptions, CancellationToken)
- Source:
- DataClient.cs
Return a list of assets for a given point in a search.
public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.StacItemPointAsset>>> GetSearchPointWithAssetsAsync(Azure.Analytics.PlanetaryComputer.GetSearchPointWithAssetsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSearchPointWithAssetsAsync : Azure.Analytics.PlanetaryComputer.GetSearchPointWithAssetsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.StacItemPointAsset>>>
override this.GetSearchPointWithAssetsAsync : Azure.Analytics.PlanetaryComputer.GetSearchPointWithAssetsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.StacItemPointAsset>>>
Public Overridable Function GetSearchPointWithAssetsAsync (options As GetSearchPointWithAssetsOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IReadOnlyList(Of StacItemPointAsset)))
Parameters
- options
- GetSearchPointWithAssetsOptions
The options for the getSearchPointWithAssets 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.