次の方法で共有


Conversation.AddParticipantAsync メソッド

定義

オーバーロード

AddParticipantAsync(Participant)

Participant オブジェクトを非同期的に使用して、会話に参加者を追加します。

AddParticipantAsync(User)

User オブジェクトを非同期的に使用して、会話に参加者を追加します。

AddParticipantAsync(String)

ユーザーの ID を非同期操作として使用して、会話に参加者を追加します。

AddParticipantAsync(Participant)

Participant オブジェクトを非同期的に使用して、会話に参加者を追加します。

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

パラメーター

participant
Participant

参加者オブジェクト。

戻り値

参加者の追加を表す非同期操作。

適用対象

AddParticipantAsync(User)

User オブジェクトを非同期的に使用して、会話に参加者を追加します。

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

パラメーター

user
User

User オブジェクト。

戻り値

参加者の追加を表す非同期操作。

適用対象

AddParticipantAsync(String)

ユーザーの ID を非同期操作として使用して、会話に参加者を追加します。

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

パラメーター

userId
String

ユーザー識別子。

戻り値

参加者の追加を表す非同期操作。

注釈

返された参加者を削除するために使用できます。 クライアントが参加者の属性を変更した場合、変更された属性は、参加者が再び追加されたときにのみサービスに渡されます。

適用対象