Compartilhar via


ChatThreadClient.RemoveParticipantAsync Método

Definição

Remova um participante de um thread de forma assíncrona.

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)

Parâmetros

identifier
CommunicationIdentifier

CommunicationIdentifier para serem removidos dos participantes da conversa de chat.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

O servidor retornou um erro. Consulte Message para obter detalhes retornados do servidor.

Aplica-se a