Share via


RemoteRenderingClient.UpdateSession Method

Definition

Updates a particular rendering session.

public virtual Azure.Response<Azure.MixedReality.RemoteRendering.RenderingSession> UpdateSession (string sessionId, Azure.MixedReality.RemoteRendering.UpdateSessionOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateSession : string * Azure.MixedReality.RemoteRendering.UpdateSessionOptions * System.Threading.CancellationToken -> Azure.Response<Azure.MixedReality.RemoteRendering.RenderingSession>
override this.UpdateSession : string * Azure.MixedReality.RemoteRendering.UpdateSessionOptions * System.Threading.CancellationToken -> Azure.Response<Azure.MixedReality.RemoteRendering.RenderingSession>
Public Overridable Function UpdateSession (sessionId As String, options As UpdateSessionOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RenderingSession)

Parameters

sessionId
String

ID of a previously created session.

options
UpdateSessionOptions

Settings of the session to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

sessionId or options is null.

Applies to