CallConnection.CancelAllMediaOperations(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.
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.