RemoteRenderingClient.UpdateSessionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates a particular rendering session.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.MixedReality.RemoteRendering.RenderingSession>> UpdateSessionAsync (string sessionId, Azure.MixedReality.RemoteRendering.UpdateSessionOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateSessionAsync : string * Azure.MixedReality.RemoteRendering.UpdateSessionOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.MixedReality.RemoteRendering.RenderingSession>>
override this.UpdateSessionAsync : string * Azure.MixedReality.RemoteRendering.UpdateSessionOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.MixedReality.RemoteRendering.RenderingSession>>
Public Overridable Function UpdateSessionAsync (sessionId As String, options As UpdateSessionOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.