CallConnection.RemoveParticipantAsync(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.
Remove a participant from the call.
public virtual System.Threading.Tasks.Task<Azure.Response> RemoveParticipantAsync (string participantId, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveParticipantAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RemoveParticipantAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RemoveParticipantAsync (participantId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- participantId
- String
The participant id.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Exceptions
The server returned an error. See Message for details returned from the server.