ExchangeServiceDeleteItems(IEnumerableItemId, DeleteMode, NullableSendCancellationsMode, NullableAffectedTaskOccurrence, Boolean, CancellationToken) - метод
Deletes multiple items in a single call to EWS.
Пространство имён: Tessa.Exchange.WebServices.DataСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
public Task<ServiceResponseCollection<ServiceResponse>> DeleteItems(
IEnumerable<ItemId> itemIds,
DeleteMode deleteMode,
SendCancellationsMode? sendCancellationsMode,
AffectedTaskOccurrence? affectedTaskOccurrences,
bool suppressReadReceipt,
CancellationToken token = default
)
Public Function DeleteItems (
itemIds As IEnumerable(Of ItemId),
deleteMode As DeleteMode,
sendCancellationsMode As SendCancellationsMode?,
affectedTaskOccurrences As AffectedTaskOccurrence?,
suppressReadReceipt As Boolean,
Optional token As CancellationToken = Nothing
) As Task(Of ServiceResponseCollection(Of ServiceResponse))
public:
Task<ServiceResponseCollection<ServiceResponse^>^>^ DeleteItems(
IEnumerable<ItemId^>^ itemIds,
DeleteMode deleteMode,
Nullable<SendCancellationsMode> sendCancellationsMode,
Nullable<AffectedTaskOccurrence> affectedTaskOccurrences,
bool suppressReadReceipt,
CancellationToken token = CancellationToken()
)
member DeleteItems :
itemIds : IEnumerable<ItemId> *
deleteMode : DeleteMode *
sendCancellationsMode : Nullable<SendCancellationsMode> *
affectedTaskOccurrences : Nullable<AffectedTaskOccurrence> *
suppressReadReceipt : bool *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<ServiceResponseCollection<ServiceResponse>>
- itemIds IEnumerableItemId
- The Ids of the items to delete.
- deleteMode DeleteMode
- The deletion mode.
- sendCancellationsMode NullableSendCancellationsMode
- Indicates whether cancellation messages should be sent. Required if any of the item Ids represents an Appointment.
- affectedTaskOccurrences NullableAffectedTaskOccurrence
- Indicates which instance of a recurring task should be deleted. Required if any of the item Ids represents a Task.
- suppressReadReceipt Boolean
- Whether to suppress read receipts
- token CancellationToken (Optional)
-
TaskServiceResponseCollectionServiceResponseA ServiceResponseCollection providing deletion results for each of the specified item Ids.