Conversations.DeleteConversationMemberWithHttpMessagesAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
DeleteConversationMember.
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse> DeleteConversationMemberWithHttpMessagesAsync(string conversationId, string memberId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteConversationMemberWithHttpMessagesAsync : string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
override this.DeleteConversationMemberWithHttpMessagesAsync : string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
Public Function DeleteConversationMemberWithHttpMessagesAsync (conversationId As String, memberId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse)
Paramètres
- conversationId
- String
ID de conversation.
- memberId
- String
ID du membre à supprimer de cette conversation.
- customHeaders
- Dictionary<String,List<String>>
Des en-têtes qui seront ajoutés à la requête.
- cancellationToken
- CancellationToken
Jeton d’annulation.
Retours
Un objet réponse contenant le corps de réponse et les en-têtes de réponse.
Implémente
Exceptions
Déclenché lorsque l’opération a renvoyé un code de statut invalide.
Jetée lorsqu’une valeur d’entrée ne correspond pas au type, à la plage ou au motif attendu.
Lancé lorsqu’un paramètre requis est nul.
Remarques
Supprime un membre d’une conversation.
Cette API REST prend un ConversationId et un memberId (de type chaîne) et supprime ce membre de la conversation. Si ce membre était le dernier membre de la conversation, la conversation sera également supprimée.