Udostępnij za pośrednictwem


RoomsClient.GetParticipants(String, CancellationToken) Method

Definition

Gets the room participants.

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)

Parameters

roomId
String
cancellationToken
CancellationToken

Returns

Exceptions

roomId is null.

The server returned an error. See Message for details returned from the server.

Applies to