DisableAlwaysCategorizeItems method

Future<void> DisableAlwaysCategorizeItems(
  1. bool processSynchronously
)
Sets up a conversation so that any item received within that conversation is no longer categorized. Calling this method results in a call to EWS. Indicates whether the method should return only once disabling this rule and removing the categories from existing items in the conversation is completely done. If processSynchronously is false, the method returns immediately.

Implementation

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