次の方法で共有


ChatThreadClient.AddParticipantAsync メソッド

定義

スレッドに参加要素を非同期的に追加します。 参加者が既に存在する場合、変更は行われません。

public virtual System.Threading.Tasks.Task<Azure.Response> AddParticipantAsync (Azure.Communication.Chat.ChatParticipant participant, System.Threading.CancellationToken cancellationToken = default);
abstract member AddParticipantAsync : Azure.Communication.Chat.ChatParticipant * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.AddParticipantAsync : Azure.Communication.Chat.ChatParticipant * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function AddParticipantAsync (participant As ChatParticipant, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

パラメーター

participant
ChatParticipant

チャット スレッドに追加する参加者。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

サーバーからエラーが返されました。 サーバーから返される詳細については、「」を参照してください Message

適用対象