Share via


RenderingConnection.LoadTextureAsync(LoadTextureOptions) Method

Definition

Initiates the loading of a texture which is located in Azure storage.

public:
 System::Threading::Tasks::Task<Microsoft::Azure::RemoteRendering::Texture ^> ^ LoadTextureAsync(Microsoft::Azure::RemoteRendering::LoadTextureOptions options);
public System.Threading.Tasks.Task<Microsoft.Azure.RemoteRendering.Texture> LoadTextureAsync (Microsoft.Azure.RemoteRendering.LoadTextureOptions options);
member this.LoadTextureAsync : Microsoft.Azure.RemoteRendering.LoadTextureOptions -> System.Threading.Tasks.Task<Microsoft.Azure.RemoteRendering.Texture>
Public Function LoadTextureAsync (options As LoadTextureOptions) As Task(Of Texture)

Parameters

options
LoadTextureOptions

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