CallConnection.Hangup(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.
Disconnect the current caller in a group-call or end a p2p-call.
public virtual Azure.Response Hangup (System.Threading.CancellationToken cancellationToken = default);
abstract member Hangup : System.Threading.CancellationToken -> Azure.Response
override this.Hangup : System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Hangup (Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Exceptions
The server returned an error. See Message for details returned from the server.