Share via


RemoteRenderingClient.CreateNewRenderingSessionAsync Method

Definition

Creates a new rendering session.

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

Parameters

options
RenderingSessionCreationOptions

Session creation parameters

Returns

The task result is of type CreateRenderingSessionResult which either holds a valid session reference or additional error context.

Remarks

This spins up a new server in the Azure cloud. Once ready, CreateNewRenderingSessionAsync returns the created RenderingSession object or an error context.

Applies to