ExchangeServiceEnableAlwaysMoveItemsInConversations - метод
Sets up a conversation so that any item received within that conversation is always moved to a specific folder.
Calling this method results in a call to EWS.
Пространство имён: Tessa.Exchange.WebServices.DataСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
public Task<ServiceResponseCollection<ServiceResponse>> EnableAlwaysMoveItemsInConversations(
IEnumerable<ConversationId> conversationId,
FolderId destinationFolderId,
bool processSynchronously,
CancellationToken token = default
)
Public Function EnableAlwaysMoveItemsInConversations (
conversationId As IEnumerable(Of ConversationId),
destinationFolderId As FolderId,
processSynchronously As Boolean,
Optional token As CancellationToken = Nothing
) As Task(Of ServiceResponseCollection(Of ServiceResponse))
public:
Task<ServiceResponseCollection<ServiceResponse^>^>^ EnableAlwaysMoveItemsInConversations(
IEnumerable<ConversationId^>^ conversationId,
FolderId^ destinationFolderId,
bool processSynchronously,
CancellationToken token = CancellationToken()
)
member EnableAlwaysMoveItemsInConversations :
conversationId : IEnumerable<ConversationId> *
destinationFolderId : FolderId *
processSynchronously : bool *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<ServiceResponseCollection<ServiceResponse>>
- conversationId IEnumerableConversationId
- The id of the conversation.
- destinationFolderId FolderId
- The Id of the folder to which conversation items should be moved.
- processSynchronously Boolean
- Indicates whether the method should return only once enabling this rule and moving existing items
in the conversation is completely done. If processSynchronously is false, the method returns immediately.
- token CancellationToken (Optional)
-
TaskServiceResponseCollectionServiceResponse