DisableAlwaysMoveItemsInConversation method

Future<void> DisableAlwaysMoveItemsInConversation(
  1. bool processSynchronously
)
Sets up a conversation so that any item received within that conversation is no longer moved to a specific folder. Calling this method results in a call to EWS. Indicates whether the method should return only once disabling this rule is completely done. If processSynchronously is false, the method returns immediately.

Implementation

Future<void> DisableAlwaysMoveItemsInConversation(
  bool processSynchronously,
) async {
  // ExchangeService.DisableAlwaysMoveItemsInConversations
  (await _ApplyConversationAction(
    ConversationActionType.AlwaysMove,
    [Id!],
    processSynchronously,
    null,
    false,
    null,
    ServiceErrorHandling.ReturnErrors,
  ))[0].ThrowIfNecessary();
}