共用方式為


RemoteRenderingClient.CreateNewRenderingSessionAsync 方法

定義

建立新的轉譯會話。

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)

參數

options
RenderingSessionCreationOptions

會話建立參數

傳回

工作結果的類型為 CreateRenderingSessionResult,其會保存有效的會話參考或其他錯誤內容。

備註

這會在 Azure 雲端中啟動新的伺服器。 準備就緒后,CreateNewRenderingSessionAsync 會傳回已建立的 RenderingSession 對象或錯誤內容。

適用於