StacClient.GetLandingPageAsync 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 |
|---|---|
| GetLandingPageAsync(CancellationToken) |
Return the STAC landing page. |
| GetLandingPageAsync(RequestContext) |
[Protocol Method] Return the STAC landing page.
|
GetLandingPageAsync(CancellationToken)
- Source:
- StacClient.cs
Return the STAC landing page.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.StacLandingPage>> GetLandingPageAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetLandingPageAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.StacLandingPage>>
override this.GetLandingPageAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.StacLandingPage>>
Public Overridable Function GetLandingPageAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StacLandingPage))
Parameters
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
Service returned a non-success status code.
Applies to
GetLandingPageAsync(RequestContext)
- Source:
- StacClient.cs
[Protocol Method] Return the STAC landing page.
- 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> GetLandingPageAsync(Azure.RequestContext context);
abstract member GetLandingPageAsync : Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetLandingPageAsync : Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetLandingPageAsync (context As RequestContext) As Task(Of Response)
Parameters
- 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.