다음을 통해 공유


RoomsClient.GetRoomAsync(String, CancellationToken) Method

Definition

Gets a room by id asynchronously.

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))

Parameters

roomId
String
cancellationToken
CancellationToken

Returns

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

Applies to