RenderingConnection.LoadModelAsync(LoadModelOptions, Action<Single>) Method

Definition

Initiates the loading of a model which is located in Azure storage.

public:
 System::Threading::Tasks::Task<Microsoft::Azure::RemoteRendering::LoadModelResult ^> ^ LoadModelAsync(Microsoft::Azure::RemoteRendering::LoadModelOptions options, Action<float> ^ progressCallback);
public System.Threading.Tasks.Task<Microsoft.Azure.RemoteRendering.LoadModelResult> LoadModelAsync (Microsoft.Azure.RemoteRendering.LoadModelOptions options, Action<float> progressCallback);
member this.LoadModelAsync : Microsoft.Azure.RemoteRendering.LoadModelOptions * Action<single> -> System.Threading.Tasks.Task<Microsoft.Azure.RemoteRendering.LoadModelResult>
Public Function LoadModelAsync (options As LoadModelOptions, progressCallback As Action(Of Single)) As Task(Of LoadModelResult)

Parameters

options
LoadModelOptions

Parameters for loading the model.

progressCallback
Action<Single>

Returns

Task<LoadModelResult>

Remarks

This call returns immediately and initiates an asynchronous task that returns when loading the model is complete.

Applies to

See also

  • <xref:https%3a%2f%2fdocs.microsoft.com%2fazure%2fremote-rendering%2fconcepts%2fmodels>