DisableAlwaysDeleteItems method
Future<void>
DisableAlwaysDeleteItems(
- bool processSynchronously
)
Sets up a conversation so that any item received within that conversation is no longer moved to Deleted Items folder.
Calling this method results in a call to EWS.
Indicates whether the method should return only once disabling this rule and restoring the items
in the conversation is completely done. If processSynchronously is false, the method returns immediately.
Implementation
Future<void> DisableAlwaysDeleteItems(bool processSynchronously) async {
// ExchangeService.DisableAlwaysDeleteItemsInConversations
(await _ApplyConversationAction(
ConversationActionType.AlwaysDelete,
[Id!],
processSynchronously,
null,
false,
null,
ServiceErrorHandling.ReturnErrors,
))[0].ThrowIfNecessary();
}