语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

StacClient.GetRenderOptionsAsync Method

Definition

Overloads

Name Description
GetRenderOptionsAsync(String, RequestContext)

[Protocol Method] Get all render options for a given collection

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetRenderOptionsAsync(String, CancellationToken)

Get all render options for a given collection.

GetRenderOptionsAsync(String, RequestContext)

Source:
StacClient.cs

[Protocol Method] Get all render options for a given 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> GetRenderOptionsAsync(string collectionId, Azure.RequestContext context);
abstract member GetRenderOptionsAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetRenderOptionsAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetRenderOptionsAsync (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

GetRenderOptionsAsync(String, CancellationToken)

Source:
StacClient.cs

Get all render options for a given collection.

public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.RenderConfiguration>>> GetRenderOptionsAsync(string collectionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRenderOptionsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.RenderConfiguration>>>
override this.GetRenderOptionsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.RenderConfiguration>>>
Public Overridable Function GetRenderOptionsAsync (collectionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IReadOnlyList(Of RenderConfiguration)))

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.

Applies to