RemoteRenderingClient.GetConversionPropertiesAsync(String) 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.
Queries the properties of an asset conversion.
public:
System::Threading::Tasks::Task<Microsoft::Azure::RemoteRendering::ConversionPropertiesResult ^> ^ GetConversionPropertiesAsync(System::String ^ conversionId);
public System.Threading.Tasks.Task<Microsoft.Azure.RemoteRendering.ConversionPropertiesResult> GetConversionPropertiesAsync (string conversionId);
member this.GetConversionPropertiesAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.RemoteRendering.ConversionPropertiesResult>
Public Function GetConversionPropertiesAsync (conversionId As String) As Task(Of ConversionPropertiesResult)
Parameters
- conversionId
- String
The conversion ID returned by StartAssetConversionAsync.
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. * A DomainUnreachable error occurs if remote rendering domain is unreachable. Url may be invalid or Azure Remote Rendering is not supported in this region. * A ConnectionRefused error occurs if remote rendering connection is refused by destination host. * A ConnectionFailed error occurs if remote rendering connection failed. Exact reason is unknown. * A Timeout error occurs if remote rendering connection timed out.