StartRenderingSessionOperation Class

Definition

Operation which represents the starting of a session. It is returned by StartSession, but you can also construct a StartSessionOperation for a sessionId which already exists.

public class StartRenderingSessionOperation : Azure.Operation<Azure.MixedReality.RemoteRendering.RenderingSession>
type StartRenderingSessionOperation = class
    inherit Operation<RenderingSession>
Public Class StartRenderingSessionOperation
Inherits Operation(Of RenderingSession)
Inheritance
System.Object
StartRenderingSessionOperation

Constructors

StartRenderingSessionOperation()

Initializes a new instance of StartRenderingSessionOperation for mocking.

StartRenderingSessionOperation(String, RemoteRenderingClient)

Construct a StartSessionOperation from a session which already exists.

Properties

HasCompleted

Returns true if the long-running operation completed.

HasValue

Returns true if the long-running operation completed successfully and has produced final result (accessible by Value property).

Id

Gets an ID representing the operation that can be used to poll for the status of the long-running operation.

Value

Final result of the long-running operation.

Methods

GetRawResponse()

The last HTTP response received from the server.

UpdateStatus(CancellationToken)

Calls the server to get updated status of the long-running operation.

UpdateStatusAsync(CancellationToken)

Calls the server to get updated status of the long-running operation.

WaitForCompletionAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionResponseAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)

Applies to