Share via


CallConnection.CancelAllMediaOperations(String, CancellationToken) Method

Definition

Cancel all media operations in the call.

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

Parameters

operationContext
String

The operation context.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

The server returned an error. See Message for details returned from the server.

Applies to