Share via


RemoteRenderingClient.CreateNewRenderingSessionAsync Metoda

Definice

Vytvoří novou relaci vykreslování.

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)

Parametry

options
RenderingSessionCreationOptions

Parametry vytváření relací

Návraty

Výsledek úkolu je typu CreateRenderingSessionResult , který obsahuje platný odkaz na relaci nebo další kontext chyby.

Poznámky

Tím se v cloudu Azure roztáčí nový server. Po dokončení funkce CreateSessionAsync vrátí vytvořený objekt RenderingSession nebo kontext chyby.

Platí pro