Udostępnij za pośrednictwem


RoomsClient.UpdateRoomAsync Method

Definition

Overloads

UpdateRoomAsync(String, UpdateRoomOptions, CancellationToken)

Updates a room asynchronously.

UpdateRoomAsync(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, CancellationToken)

Updates a room asynchronously.

UpdateRoomAsync(String, UpdateRoomOptions, CancellationToken)

Source:
RoomsClient.cs
Source:
RoomsClient.cs

Updates a room asynchronously.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Rooms.CommunicationRoom>> UpdateRoomAsync (string roomId, Azure.Communication.Rooms.UpdateRoomOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateRoomAsync : string * Azure.Communication.Rooms.UpdateRoomOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Rooms.CommunicationRoom>>
override this.UpdateRoomAsync : string * Azure.Communication.Rooms.UpdateRoomOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Rooms.CommunicationRoom>>
Public Overridable Function UpdateRoomAsync (roomId As String, options As UpdateRoomOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CommunicationRoom))

Parameters

roomId
String
cancellationToken
CancellationToken

Returns

A Task<TResult> representing the result of the asynchronous operation.

Applies to

UpdateRoomAsync(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, CancellationToken)

Source:
RoomsClient.cs
Source:
RoomsClient.cs

Updates a room asynchronously.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Rooms.CommunicationRoom>> UpdateRoomAsync (string roomId, DateTimeOffset? validFrom = default, DateTimeOffset? validUntil = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateRoomAsync : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Rooms.CommunicationRoom>>
override this.UpdateRoomAsync : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.Rooms.CommunicationRoom>>
Public Overridable Function UpdateRoomAsync (roomId As String, Optional validFrom As Nullable(Of DateTimeOffset) = Nothing, Optional validUntil As Nullable(Of DateTimeOffset) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CommunicationRoom))

Parameters

roomId
String
validUntil
Nullable<DateTimeOffset>
cancellationToken
CancellationToken

Returns

A Task<TResult> representing the result of the asynchronous operation.

Applies to