Share via


Conversation.AddParticipantAsync Method

Definition

Overloads

AddParticipantAsync(Participant)

Add a participant to a conversation using the Participant object asynchronously.

AddParticipantAsync(User)

Add a participant to a conversation using the User object asynchronously.

AddParticipantAsync(String)

Add a participant to a conversation using the user's id as an asynchronous operation.

AddParticipantAsync(Participant)

Add a participant to a conversation using the Participant object asynchronously.

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

Parameters

participant
Participant

A participant object.

Returns

An asynchronous operation representing adding a participant.

Applies to

AddParticipantAsync(User)

Add a participant to a conversation using the User object asynchronously.

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

Parameters

user
User

A User object.

Returns

An asynchronous operation representing adding a participant.

Applies to

AddParticipantAsync(String)

Add a participant to a conversation using the user's id as an asynchronous operation.

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

Parameters

userId
String

A user identifier.

Returns

An asynchronous operation representing adding a participant.

Remarks

The returned participants can be used to remove. If the client changes the participant's attributes, the changed attributes are passed on to the service only when the participants is added again.

Applies to