다음을 통해 공유


RoomsClient.GetRoom(String, CancellationToken) Method

Definition

Gets a room by 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)

Parameters

roomId
String
cancellationToken
CancellationToken

Returns

Exceptions

roomId is null.

Applies to