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) Версия: 3.5.0.19
Синтаксис 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
- Тип: System.Collections.GenericIEnumerableItemId
The Ids of the items to delete. - deleteMode
- Тип: Tessa.Exchange.WebServices.DataDeleteMode
The deletion mode. - sendCancellationsMode
- Тип: SystemNullableSendCancellationsMode
Indicates whether cancellation messages should be sent. Required if any of the item Ids represents an Appointment. - affectedTaskOccurrences
- Тип: SystemNullableAffectedTaskOccurrence
Indicates which instance of a recurring task should be deleted. Required if any of the item Ids represents a Task. - suppressReadReceipt
- Тип: SystemBoolean
Whether to suppress read receipts - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskServiceResponseCollectionServiceResponseA ServiceResponseCollection providing deletion results for each of the specified item Ids.
См. также