Share via


RemoteRenderingClient.GetAssetConversionStatusAsync(String) Method

Definition

Deprecated. Use GetConversionPropertiesAsync() instead.

public:
 System::Threading::Tasks::Task<Microsoft::Azure::RemoteRendering::AssetConversionStatusResult ^> ^ GetAssetConversionStatusAsync(System::String ^ conversionId);
public System.Threading.Tasks.Task<Microsoft.Azure.RemoteRendering.AssetConversionStatusResult> GetAssetConversionStatusAsync (string conversionId);
member this.GetAssetConversionStatusAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.RemoteRendering.AssetConversionStatusResult>
Public Function GetAssetConversionStatusAsync (conversionId As String) As Task(Of AssetConversionStatusResult)

Parameters

conversionId
String

Returns

Task containing the conversion status or an error context. The returned async will complete in an arbitrary thread.

Remarks

Since the underlying call is a REST call, there should be sufficient delay (5-10s) between subsequent calls to avoid server throttling. In case of throttling, the function will fail and the HttpResponseCode reports code 429 ("too many requests").

* A InvalidParam error occurs if no conversionId is provided, or the rendering service URL was empty, because the account domain and account Id was not provided. * A AuthenticationFailed error occurs if the request could not be authenticated. * A TooManyRequests error occurs if the rate limit has been exceeded. Retry the request after the duration given in the Retry-After header.

Applies to