Dela via


RoomsClient.DeleteRoomAsync(String, CancellationToken) Method

Definition

Deletes a room by id asynchronously.

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

Parameters

roomId
String
cancellationToken
CancellationToken

Returns

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

Applies to