Lenguaje

Conversations.DeleteConversationMemberWithHttpMessagesAsync Método

Definición

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)

Parámetros

conversationId
String

ID de la conversación.

memberId
String

Identificación del miembro para eliminar de esta conversación.

customHeaders
Dictionary<String,List<String>>

Cabeceras que se añadirán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Task<Microsoft.Rest.HttpOperationResponse>

Un objeto de respuesta que contiene el cuerpo de respuesta y los encabezados de respuesta.

Implementaciones

Excepciones

Se desactivó cuando la operación devolvió un código de estado inválido.

Microsoft.Rest.ValidationException

Se lanza cuando un valor de entrada no coincide con el tipo de dato esperado, rango o patrón.

Se lanza cuando un parámetro requerido es nulo.

Comentarios

Elimina un miembro de una conversación.

Esta API rest toma conversationId y memberId (de tipo cadena) y quita ese miembro de la conversación. Si ese miembro era el último miembro de la conversación, la conversación también se eliminará.

Se aplica a