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

RoomsClient.GetParticipants(String, CancellationToken) 方法

定义

获取会议室参与者。

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

参数

roomId
String
cancellationToken
CancellationToken

返回

例外

roomId 为 null。

服务器返回错误。 有关从服务器返回的详细信息,请参阅 Message

适用于