RemoteRenderingClient.CreateNewRenderingSessionAsync Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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.