RoomsClient.UpdateRoom 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.
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
- options
- UpdateRoomOptions
- 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
- validFrom
- Nullable<DateTimeOffset>
- validUntil
- Nullable<DateTimeOffset>
- cancellationToken
- CancellationToken
Returns
Exceptions
roomId
is null.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET