Share via


CallMedia.CancelAllMediaOperations(CancellationToken) Method

Definition

Cancel any media operation to all participants.

public virtual Azure.Response<Azure.Communication.CallAutomation.CancelAllMediaOperationsResult> CancelAllMediaOperations (System.Threading.CancellationToken cancellationToken = default);
abstract member CancelAllMediaOperations : System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.CancelAllMediaOperationsResult>
override this.CancelAllMediaOperations : System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.CancelAllMediaOperationsResult>
Public Overridable Function CancelAllMediaOperations (Optional cancellationToken As CancellationToken = Nothing) As Response(Of CancelAllMediaOperationsResult)

Parameters

cancellationToken
CancellationToken

An optional CancellationToken to cancel the request.

Returns

Returns CancelAllMediaOperationsResult, which can be used to wait for CancelAllMediaOperations' related events.

Applies to