语言

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

DataClient.CropFeatureAsync Method

Definition

[Protocol Method] Create image from a geojson feature (without format in path).

  • 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> CropFeatureAsync(Azure.Core.RequestContent content, Azure.Analytics.PlanetaryComputer.CropFeatureOptions options, Azure.RequestContext context = default);
abstract member CropFeatureAsync : Azure.Core.RequestContent * Azure.Analytics.PlanetaryComputer.CropFeatureOptions * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.CropFeatureAsync : Azure.Core.RequestContent * Azure.Analytics.PlanetaryComputer.CropFeatureOptions * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function CropFeatureAsync (content As RequestContent, options As CropFeatureOptions, Optional context As RequestContext = Nothing) As Task(Of Response)

Parameters

content
RequestContent

The content to send as the body of the request.

options
CropFeatureOptions

The options for the cropFeature 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

content or options is null.

Service returned a non-success status code.

Applies to