RenderingConnection.LoadModelFromSasAsync Method

Definition

Initiates the loading of a model using a SAS token to identify the model.

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

Parameters

options
LoadModelFromSasOptions

Parameters for loading the model.

progressCallback
Action<Single>

Returns

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>