ExchangeServiceDeleteItems(IEnumerableItemId, DeleteMode, NullableSendCancellationsMode, NullableAffectedTaskOccurrence, Boolean, CancellationToken) - метод

Deletes multiple items in a single call to EWS.

Definition

Пространство имён: Tessa.Exchange.WebServices.Data
Сборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
C#
public Task<ServiceResponseCollection<ServiceResponse>> DeleteItems(
	IEnumerable<ItemId> itemIds,
	DeleteMode deleteMode,
	SendCancellationsMode? sendCancellationsMode,
	AffectedTaskOccurrence? affectedTaskOccurrences,
	bool suppressReadReceipt,
	CancellationToken token = default
)

Параметры

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)
 

Возвращаемое значение

TaskServiceResponseCollectionServiceResponse
A ServiceResponseCollection providing deletion results for each of the specified item Ids.

См. также