Compartilhar via


RoomsClient.GetRoom(String, CancellationToken) Método

Definição

Obtém uma sala por ID.

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

Parâmetros

roomId
String
cancellationToken
CancellationToken

Retornos

Exceções

roomId é nulo.

Aplica-se a