RenderingConnection.LoadTextureFromSasAsync(LoadTextureFromSasOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initiates the loading of a texture using a SAS token to identify the texture.
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)
Parameters
- options
- LoadTextureFromSasOptions
Parameters for loading the texture.
Returns
Task with result type Texture. The task will complete during an Update() tick.
Remarks
This call returns immediately and initiates an asynchronous task that returns when loading the texture is complete.
* A AuthenticationFailed error occurs if the request could not be authenticated. * A NoConnection error occurs, if there was no connection found. * A InvalidType error occurs if the provided file type is not supported. * A InvalidParentId error occurs if the set parent Id is invalid.