ExchangeServiceDeleteItemsInConversations - метод
Deletes the items in the specified conversation. 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>> DeleteItemsInConversations(
IEnumerable<KeyValuePair<ConversationId, DateTime?>> idLastSyncTimePairs,
FolderId contextFolderId,
DeleteMode deleteMode,
CancellationToken token = default
)
Public Function DeleteItemsInConversations (
idLastSyncTimePairs As IEnumerable(Of KeyValuePair(Of ConversationId, DateTime?)),
contextFolderId As FolderId,
deleteMode As DeleteMode,
Optional token As CancellationToken = Nothing
) As Task(Of ServiceResponseCollection(Of ServiceResponse))
public:
Task<ServiceResponseCollection<ServiceResponse^>^>^ DeleteItemsInConversations(
IEnumerable<KeyValuePair<ConversationId^, Nullable<DateTime>>>^ idLastSyncTimePairs,
FolderId^ contextFolderId,
DeleteMode deleteMode,
CancellationToken token = CancellationToken()
)
member DeleteItemsInConversations :
idLastSyncTimePairs : IEnumerable<KeyValuePair<ConversationId, Nullable<DateTime>>> *
contextFolderId : FolderId *
deleteMode : DeleteMode *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<ServiceResponseCollection<ServiceResponse>>
- idLastSyncTimePairs IEnumerableKeyValuePairConversationId, NullableDateTime
- The pairs of Id of conversation whose
items should be deleted and the date and time conversation was last synced
(Items received after that date will not be deleted).
- contextFolderId FolderId
- The Id of the folder that contains the conversation.
- deleteMode DeleteMode
- The deletion mode.
- token CancellationToken (Optional)
-
TaskServiceResponseCollectionServiceResponse