Compartilhar via


RoomsClient.GetRoomsAsync(CancellationToken) Método

Definição

Obtém todas as salas de forma assíncrona.

public virtual Azure.AsyncPageable<Azure.Communication.Rooms.CommunicationRoom> GetRoomsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoomsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Communication.Rooms.CommunicationRoom>
override this.GetRoomsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Communication.Rooms.CommunicationRoom>
Public Overridable Function GetRoomsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CommunicationRoom)

Parâmetros

cancellationToken
CancellationToken

Retornos

Um Task<TResult> que representa o resultado da operação assíncrona.

Exceções

O servidor retornou um erro. Consulte Message para obter detalhes retornados do servidor.

Aplica-se a