Udostępnij za pośrednictwem


ChatThreadClient.RemoveParticipant Method

Definition

Remove a member from a 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

Parameters

identifier
CommunicationIdentifier

CommunicationIdentifier to be removed from the chat thread participants.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

The server returned an error. See Message for details returned from the server.

Applies to