Share via


RenderingConnection.LoadTextureFromSasAsync(LoadTextureFromSasOptions) Method

Definition

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.

Applies to

See also