コード例 #1
0
 /// <summary>
 /// DeleteConversationMember
 /// </summary>
 /// <remarks>
 /// Deletes a member from a converstion.
 ///
 /// This REST API takes a ConversationId and a memberId (of type string) and
 /// removes that member from the conversation. If that member was the last
 /// member
 /// of the conversation, the conversation will also be deleted.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='conversationId'>
 /// Conversation ID
 /// </param>
 /// <param name='memberId'>
 /// ID of the member to delete from this conversation
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteConversationMemberAsync(this IConversations operations, string conversationId, string memberId, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteConversationMemberWithHttpMessagesAsync(conversationId, memberId, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }