Dela via


CallConnection.RemoveParticipantAsync(String, CancellationToken) Method

Definition

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.

Applies to