Share via


Conversation.RemoveParticipantAsync Method

Definition

Overloads

RemoveParticipantAsync(Participant)

Remove a participant in a conversation using the Participant object asynchronously.

RemoveParticipantAsync(User)

Remove a participant in a conversation using the User object asynchronously.

RemoveParticipantAsync(String)

Remove a participant from a conversation using a user identifier asynchronously.

RemoveParticipantAsync(Participant)

Remove a participant in a conversation using the Participant object asynchronously.

public System.Threading.Tasks.Task RemoveParticipantAsync (Microsoft.CognitiveServices.Speech.Transcription.Participant participant);
member this.RemoveParticipantAsync : Microsoft.CognitiveServices.Speech.Transcription.Participant -> System.Threading.Tasks.Task
Public Function RemoveParticipantAsync (participant As Participant) As Task

Parameters

participant
Participant

A Participant object.

Returns

An asynchronous operation representing adding a participant.

Applies to

RemoveParticipantAsync(User)

Remove a participant in a conversation using the User object asynchronously.

public System.Threading.Tasks.Task RemoveParticipantAsync (Microsoft.CognitiveServices.Speech.Transcription.User user);
member this.RemoveParticipantAsync : Microsoft.CognitiveServices.Speech.Transcription.User -> System.Threading.Tasks.Task
Public Function RemoveParticipantAsync (user As User) As Task

Parameters

user
User

A User object.

Returns

An asynchronous operation representing removing a participant.

Applies to

RemoveParticipantAsync(String)

Remove a participant from a conversation using a user identifier asynchronously.

public System.Threading.Tasks.Task RemoveParticipantAsync (string userId);
member this.RemoveParticipantAsync : string -> System.Threading.Tasks.Task
Public Function RemoveParticipantAsync (userId As String) As Task

Parameters

userId
String

A user identifier.

Returns

An asynchronous operation representing removing a participant.

Applies to