RemoteRenderingClient.CreateNewRenderingSessionAsync Metoda

Definicja

Tworzy nową sesję renderowania.

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 tworzenia sesji

Zwraca

Wynik zadania jest typu CreateRenderingSessionResult , który zawiera prawidłowe odwołanie do sesji lub dodatkowy kontekst błędu.

Uwagi

Spowoduje to uruchomienie nowego serwera w chmurze platformy Azure. Gdy wszystko będzie gotowe, metoda CreateSessionAsync zwraca utworzony obiekt RenderingSession lub kontekst błędu.

Dotyczy