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