Compartilhar via


RoomsClient.GetRoomAsync(String, CancellationToken) Método

Definição

Obtém uma sala por ID de forma assíncrona.

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

Parâmetros

roomId
String
cancellationToken
CancellationToken

Retornos

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

Aplica-se a