Compartilhar via


ChatThreadClient.RemoveParticipant Método

Definição

Remova um membro de um thread .

public virtual Azure.Response RemoveParticipant (Azure.Communication.CommunicationIdentifier identifier, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveParticipant : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> Azure.Response
override this.RemoveParticipant : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function RemoveParticipant (identifier As CommunicationIdentifier, Optional cancellationToken As CancellationToken = Nothing) As 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