Share via


CreateRenderingSessionResult Class

Definition

Result object that is returned by OpenRenderingSessionAsync(String) and CreateNewRenderingSessionAsync(RenderingSessionCreationOptions). Success state and additional error context can be retrieved via base class SessionContextResult. In case of success, the Session property holds a valid RenderingSession reference.

public ref class CreateRenderingSessionResult : Microsoft::Azure::RemoteRendering::SessionContextResult
public class CreateRenderingSessionResult : Microsoft.Azure.RemoteRendering.SessionContextResult
type CreateRenderingSessionResult = class
    inherit SessionContextResult
Public Class CreateRenderingSessionResult
Inherits SessionContextResult
Inheritance
CreateRenderingSessionResult

Properties

Context

In case of failure (ErrorCode != Success), additional information such as the http response code and an error string can be gathered through this object. In case of success, this object is still valid, but does not provide additional information.

(Inherited from SessionContextResult)
ErrorCode

Indicates whether the query was successful or not. See Result for details in case of failure. In case of failure, additional information can be gathered from Context.

(Inherited from SessionContextResult)
Session

In case of success this holds a valid RenderingSession reference.

Applies to