RoomsClient.GetRoom(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET