你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RoomsClient 类

定义

Azure 通信服务会议室客户端。

public class RoomsClient
type RoomsClient = class
Public Class RoomsClient
继承
RoomsClient

构造函数

RoomsClient()

初始化 mock 类 RoomsClient 的新实例。

RoomsClient(String)

初始化 RoomsClient 类的新实例。

RoomsClient(String, RoomsClientOptions)

初始化 RoomsClient 类的新实例。

RoomsClient(Uri, AzureKeyCredential, RoomsClientOptions)

初始化 RoomsClient 类的新实例。

RoomsClient(Uri, TokenCredential, RoomsClientOptions)

初始化 RoomsClient 类的新实例。

方法

AddOrUpdateParticipants(String, IEnumerable<RoomParticipant>, CancellationToken)

在聊天室中添加或更新参与者。

AddOrUpdateParticipantsAsync(String, IEnumerable<RoomParticipant>, CancellationToken)

异步添加或更新聊天室中的参与者。

CreateRoom(CreateRoomOptions, CancellationToken)

创建新会议室。

CreateRoom(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<RoomParticipant>, CancellationToken)

创建新会议室。

CreateRoomAsync(CreateRoomOptions, CancellationToken)

异步创建新会议室。

CreateRoomAsync(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<RoomParticipant>, CancellationToken)

异步创建新会议室。

DeleteRoom(String, CancellationToken)

按 ID 删除聊天室。

DeleteRoomAsync(String, CancellationToken)

按 ID 异步删除聊天室。

GetParticipants(String, CancellationToken)

获取会议室参与者。

GetParticipantsAsync(String, CancellationToken)

异步获取会议室参与者。

GetRoom(String, CancellationToken)

按 ID 获取房间。

GetRoomAsync(String, CancellationToken)

按 ID 异步获取房间。

GetRooms(CancellationToken)

获取所有房间。

GetRoomsAsync(CancellationToken)

异步获取所有会议室。

RemoveParticipants(String, IEnumerable<CommunicationIdentifier>, CancellationToken)

删除聊天室参与者。

RemoveParticipantsAsync(String, IEnumerable<CommunicationIdentifier>, CancellationToken)

删除聊天室参与者异步。

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

汇报一个房间。

UpdateRoom(String, UpdateRoomOptions, CancellationToken)

汇报一个房间。

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

异步汇报房间。

UpdateRoomAsync(String, UpdateRoomOptions, CancellationToken)

异步汇报房间。

适用于