RenderingConnection.LoadModelFromSasAsync 方法

定义

使用 SAS 令牌启动模型的加载以标识模型。

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)

参数

options
LoadModelFromSasOptions

用于加载模型的参数。

progressCallback
Action<Single>

返回

注解

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

适用于

另请参阅

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