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 云中的新服务器。 准备就绪后,CreateSessionAsync 将返回创建的 RenderingSession 对象或错误上下文。

适用于