次の方法で共有


ChatThreadClient.RemoveParticipantAsync メソッド

定義

スレッドから参加要素を非同期的に削除します。

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

パラメーター

identifier
CommunicationIdentifier

CommunicationIdentifier チャット スレッドの参加者から削除されます。

cancellationToken
CancellationToken

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

戻り値

例外

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

適用対象