你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RoomsClient.UpdateRoom 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UpdateRoom(String, UpdateRoomOptions, CancellationToken) |
汇报一个房间。 |
UpdateRoom(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, CancellationToken) |
汇报一个房间。 |
UpdateRoom(String, UpdateRoomOptions, CancellationToken)
- Source:
- RoomsClient.cs
- Source:
- RoomsClient.cs
汇报一个房间。
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)
参数
- roomId
- String
- options
- UpdateRoomOptions
- cancellationToken
- CancellationToken
返回
例外
options?.Id?.Id
为 null。
适用于
UpdateRoom(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, CancellationToken)
- Source:
- RoomsClient.cs
- Source:
- RoomsClient.cs
汇报一个房间。
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)
参数
- roomId
- String
- validFrom
- Nullable<DateTimeOffset>
- validUntil
- Nullable<DateTimeOffset>
- cancellationToken
- CancellationToken
返回
例外
roomId
为 null。