Sdílet prostřednictvím


IConversations.DeleteConversationMemberWithHttpMessagesAsync Metoda

Definice

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>
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)

Parametry

conversationId
String

ID konverzace.

memberId
String

ID člena, který se má z této konverzace odstranit.

customHeaders
Dictionary<String,List<String>>

Hlavičky, které se přidají do požadavku.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Task<Microsoft.Rest.HttpOperationResponse>

Úkol, který představuje Microsoft.Rest.HttpOperationResponse.

Výjimky

Vyvolá se, když operace vrátila neplatný stavový kód.

Microsoft.Rest.ValidationException

Vyvolá se, když má požadovaný parametr hodnotu null.

Poznámky

Odstraní člena z konverzace.

Toto rozhraní REST API přebírá id konverzace a id člena (typu řetězec) a odebere tohoto člena z konverzace. Pokud byl tento člen posledním členem konverzace, konverzace se také odstraní.

Platí pro