RenderingConnection.LoadTextureFromSasAsync(LoadTextureFromSasOptions) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用 SAS 權杖來起始紋理的載入,以識別紋理。
public:
System::Threading::Tasks::Task<Microsoft::Azure::RemoteRendering::Texture ^> ^ LoadTextureFromSasAsync(Microsoft::Azure::RemoteRendering::LoadTextureFromSasOptions options);
public System.Threading.Tasks.Task<Microsoft.Azure.RemoteRendering.Texture> LoadTextureFromSasAsync (Microsoft.Azure.RemoteRendering.LoadTextureFromSasOptions options);
member this.LoadTextureFromSasAsync : Microsoft.Azure.RemoteRendering.LoadTextureFromSasOptions -> System.Threading.Tasks.Task<Microsoft.Azure.RemoteRendering.Texture>
Public Function LoadTextureFromSasAsync (options As LoadTextureFromSasOptions) As Task(Of Texture)
參數
- options
- LoadTextureFromSasOptions
載入紋理的參數。
傳回
具有結果類型紋理的工作。 工作會在刻度期間 Update() 完成。
備註
此呼叫會立即傳回,並起始載入紋理完成時所傳回的非同步工作。
AuthenticationFailed* 如果無法驗證要求,就會發生錯誤。 NoConnection* 如果找不到連線,就會發生錯誤。 InvalidType* 如果不支援提供的檔案類型,就會發生錯誤。 InvalidParentId* 如果設定的父識別碼無效,就會發生錯誤。