RenderingConnection.LoadModelAsync 方法

定义

启动加载位于 Azure 存储中的模型。

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)

参数

options
LoadModelOptions

用于加载模型的参数。

progressCallback
Action<Single>

返回

注解

此调用会立即返回,并启动一个异步任务,该任务在加载模型完成时返回。

适用于

另请参阅

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