ExchangeService.DeleteItems(IEnumerable<ItemId>, DeleteMode, Nullable<SendCancellationsMode>, Nullable<AffectedTaskOccurrence>) - метод

Deletes multiple items in a single call to EWS.

Definition

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

Параметры

itemIds  IEnumerable<ItemId>
The Ids of the items to delete.
deleteMode  DeleteMode
The deletion mode.
sendCancellationsMode  Nullable<SendCancellationsMode>
Indicates whether cancellation messages should be sent. Required if any of the item Ids represents an Appointment.
affectedTaskOccurrences  Nullable<AffectedTaskOccurrence>
Indicates which instance of a recurring task should be deleted. Required if any of the item Ids represents a Task.

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

Task<ServiceResponseCollection<ServiceResponse>>
A ServiceResponseCollection providing deletion results for each of the specified item Ids.

См. также