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.6.0.22
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 IEnumerableItem
- The items to update.
- savedItemsDestinationFolderId FolderId
- 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 ConflictResolutionMode
- The conflict resolution mode.
- messageDisposition NullableMessageDisposition
- Indicates the disposition mode for items of type EmailMessage. Required if items contains at least one EmailMessage instance.
- sendInvitationsOrCancellationsMode NullableSendInvitationsOrCancellationsMode
- 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 Boolean
- Whether to suppress read receipts
- token CancellationToken (Optional)
-
TaskServiceResponseCollectionUpdateItemResponseA ServiceResponseCollection providing update results for each of the specified items.