ExchangeServiceCreateItems - метод

Creates multiple items in a single EWS call. Supported item classes are EmailMessage, Appointment, Contact, PostItem, Task and Item. CreateItems does not support items that have unsaved attachments.

Definition

Пространство имён: Tessa.Exchange.WebServices.Data
Сборка: Tessa.Server (в Tessa.Server.dll) Версия: 3.6.0.22
C#
public Task<ServiceResponseCollection<ServiceResponse>> CreateItems(
	IEnumerable<Item> items,
	FolderId parentFolderId,
	MessageDisposition? messageDisposition,
	SendInvitationsMode? sendInvitationsMode,
	CancellationToken token = default
)

Параметры

items  IEnumerableItem
The items to create.
parentFolderId  FolderId
The Id of the folder in which to place the newly created items. If null, items are created in their default folders.
messageDisposition  NullableMessageDisposition
Indicates the disposition mode for items of type EmailMessage. Required if items contains at least one EmailMessage instance.
sendInvitationsMode  NullableSendInvitationsMode
Indicates if and how invitations should be sent for items of type Appointment. Required if items contains at least one Appointment instance.
token  CancellationToken  (Optional)
 

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

TaskServiceResponseCollectionServiceResponse
A ServiceResponseCollection providing creation results for each of the specified items.

См. также