ExchangeService.CreateItems - метод

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.24
C#
public Task<ServiceResponseCollection<ServiceResponse>> CreateItems(
	IEnumerable<Item> items,
	FolderId parentFolderId,
	MessageDisposition? messageDisposition,
	SendInvitationsMode? sendInvitationsMode,
	CancellationToken token = default
)

Параметры

items  IEnumerable<Item>
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  Nullable<MessageDisposition>
Indicates the disposition mode for items of type EmailMessage. Required if items contains at least one EmailMessage instance.
sendInvitationsMode  Nullable<SendInvitationsMode>
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)
 

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

Task<ServiceResponseCollection<ServiceResponse>>
A ServiceResponseCollection providing creation results for each of the specified items.

См. также