Dela via


RoomsClient.GetParticipantsAsync(String, CancellationToken) Method

Definition

Gets the room participants asynchronously.

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

Parameters

roomId
String
cancellationToken
CancellationToken

Returns

A Task<TResult> representing the result of the asynchronous operation.

Exceptions

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

Applies to