Udostępnij za pośrednictwem


RoomsClient.UpdateRoom Method

Definition

Overloads

UpdateRoom(String, UpdateRoomOptions, CancellationToken)

Updates a room.

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

Updates a room.

UpdateRoom(String, UpdateRoomOptions, CancellationToken)

Source:
RoomsClient.cs
Source:
RoomsClient.cs

Updates a room.

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

Parameters

roomId
String
cancellationToken
CancellationToken

Returns

Exceptions

options?.Id?.Id is null.

Applies to

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

Source:
RoomsClient.cs
Source:
RoomsClient.cs

Updates a room.

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

Parameters

roomId
String
validUntil
Nullable<DateTimeOffset>
cancellationToken
CancellationToken

Returns

Exceptions

roomId is null.

Applies to