ExchangeServiceUpdateItems(IEnumerableItem, FolderId, ConflictResolutionMode, NullableMessageDisposition, NullableSendInvitationsOrCancellationsMode, Boolean, CancellationToken) - метод |
Updates multiple items in a single EWS call. UpdateItems does not support items that have unsaved attachments.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис public Task<ServiceResponseCollection<UpdateItemResponse>> UpdateItems(
IEnumerable<Item> items,
FolderId savedItemsDestinationFolderId,
ConflictResolutionMode conflictResolution,
MessageDisposition? messageDisposition,
SendInvitationsOrCancellationsMode? sendInvitationsOrCancellationsMode,
bool suppressReadReceipts,
CancellationToken token = default
)
Public Function UpdateItems (
items As IEnumerable(Of Item),
savedItemsDestinationFolderId As FolderId,
conflictResolution As ConflictResolutionMode,
messageDisposition As MessageDisposition?,
sendInvitationsOrCancellationsMode As SendInvitationsOrCancellationsMode?,
suppressReadReceipts As Boolean,
Optional token As CancellationToken = Nothing
) As Task(Of ServiceResponseCollection(Of UpdateItemResponse))
public:
Task<ServiceResponseCollection<UpdateItemResponse^>^>^ UpdateItems(
IEnumerable<Item^>^ items,
FolderId^ savedItemsDestinationFolderId,
ConflictResolutionMode conflictResolution,
Nullable<MessageDisposition> messageDisposition,
Nullable<SendInvitationsOrCancellationsMode> sendInvitationsOrCancellationsMode,
bool suppressReadReceipts,
CancellationToken token = CancellationToken()
)
member UpdateItems :
items : IEnumerable<Item> *
savedItemsDestinationFolderId : FolderId *
conflictResolution : ConflictResolutionMode *
messageDisposition : Nullable<MessageDisposition> *
sendInvitationsOrCancellationsMode : Nullable<SendInvitationsOrCancellationsMode> *
suppressReadReceipts : bool *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<ServiceResponseCollection<UpdateItemResponse>>
Параметры
- items
- Тип: System.Collections.GenericIEnumerableItem
The items to update. - savedItemsDestinationFolderId
- Тип: Tessa.Exchange.WebServices.DataFolderId
The folder in which to save sent messages, meeting invitations or cancellations. If null, the messages, meeting invitation or cancellations are saved in the Sent Items folder. - conflictResolution
- Тип: Tessa.Exchange.WebServices.DataConflictResolutionMode
The conflict resolution mode. - messageDisposition
- Тип: SystemNullableMessageDisposition
Indicates the disposition mode for items of type EmailMessage. Required if items contains at least one EmailMessage instance. - sendInvitationsOrCancellationsMode
- Тип: SystemNullableSendInvitationsOrCancellationsMode
Indicates if and how invitations and/or cancellations should be sent for items of type Appointment. Required if items contains at least one Appointment instance. - suppressReadReceipts
- Тип: SystemBoolean
Whether to suppress read receipts - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskServiceResponseCollectionUpdateItemResponseA ServiceResponseCollection providing update results for each of the specified items.
См. также