共用方式為


RemoteRenderingClient.StartConversionAsync Method

Definition

Creates a conversion using an asset stored in an Azure Blob Storage account. If the remote rendering account has been linked with the storage account no Shared Access Signatures (storageContainerReadListSas, storageContainerWriteSas) for storage access need to be provided. Documentation how to link your Azure Remote Rendering account with the Azure Blob Storage account can be found in the documentation. All files in the input container starting with the blobPrefix will be retrieved to perform the conversion. To cut down on conversion times only necessary files should be available under the blobPrefix. .

public virtual System.Threading.Tasks.Task<Azure.MixedReality.RemoteRendering.AssetConversionOperation> StartConversionAsync (string conversionId, Azure.MixedReality.RemoteRendering.AssetConversionOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member StartConversionAsync : string * Azure.MixedReality.RemoteRendering.AssetConversionOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.MixedReality.RemoteRendering.AssetConversionOperation>
override this.StartConversionAsync : string * Azure.MixedReality.RemoteRendering.AssetConversionOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.MixedReality.RemoteRendering.AssetConversionOperation>
Public Overridable Function StartConversionAsync (conversionId As String, options As AssetConversionOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AssetConversionOperation)

Parameters

conversionId
String

An ID uniquely identifying the conversion for the given account. The ID is case sensitive, can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 256 characters.

options
AssetConversionOptions

Request body configuring the settings for an asset conversion.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

conversionId or options is null.

Applies to