Language

Conversations.DeleteConversationMemberWithHttpMessagesAsync メソッド

定義

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)

パラメーター

conversationId
String

会話 ID。

memberId
String

この会話から削除すべきメンバーのIDです。

customHeaders
Dictionary<String,List<String>>

リクエストに追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

返品

Task<Microsoft.Rest.HttpOperationResponse>

レスポンス本体とレスポンスヘッダーを含むレスポンスオブジェクト。

実装

例外

操作が無効なステータスコードを返した際にスローされます。

Microsoft.Rest.ValidationException

入力値が期待されるデータ型、範囲、パターンと一致しない場合にスローされます。

必要なパラメータがnullのときに投げられます。

注釈

会話からメンバーを削除します。

この REST API は、ConversationId と memberId (文字列型) を受け取り、そのメンバーを会話から削除します。 そのメンバーが会話の最後のメンバーであった場合、会話も削除されます。

適用対象