EmailMailboxChangeReader
EmailMailboxChangeReader
EmailMailboxChangeReader
EmailMailboxChangeReader
Class
Definition
The functionality described in this topic is not available to all Windows and Windows Phone apps. For your code to call these APIs, Microsoft must approve your use of them and provision your developer account. Otherwise the calls will fail at runtime.
For more information about the Windows.ApplicationModel.Email namespace, please work with your Microsoft Account Team representative.
public : sealed class EmailMailboxChangeReader : IEmailMailboxChangeReaderpublic sealed class EmailMailboxChangeReader : IEmailMailboxChangeReaderPublic NotInheritable Class EmailMailboxChangeReader Implements IEmailMailboxChangeReader// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Call GetChangeReader to get an instance of this class.
Methods
AcceptChanges() AcceptChanges() AcceptChanges() AcceptChanges()
Accepts all changes.
public : void AcceptChanges()public void AcceptChanges()Public Function AcceptChanges() As void// You can use this method in JavaScript.
AcceptChangesThrough(EmailMailboxChange) AcceptChangesThrough(EmailMailboxChange) AcceptChangesThrough(EmailMailboxChange) AcceptChangesThrough(EmailMailboxChange)
Accepts all changes through the current change.
public : void AcceptChangesThrough(EmailMailboxChange lastChangeToAcknowledge)public void AcceptChangesThrough(EmailMailboxChange lastChangeToAcknowledge)Public Function AcceptChangesThrough(lastChangeToAcknowledge As EmailMailboxChange) As void// You can use this method in JavaScript.
Parameters
- lastChangeToAcknowledge
- EmailMailboxChange EmailMailboxChange EmailMailboxChange EmailMailboxChange
The current change.
ReadBatchAsync() ReadBatchAsync() ReadBatchAsync() ReadBatchAsync()
Reads a collection of changes.
public : IAsyncOperation<IVectorView<EmailMailboxChange>> ReadBatchAsync()public IAsyncOperation<IReadOnlyList<EmailMailboxChange>> ReadBatchAsync()Public Function ReadBatchAsync() As IAsyncOperation( Of IReadOnlyListEmailMailboxChange )// You can use this method in JavaScript.
Returns
IAsyncOperation<IVectorView<EmailMailboxChange>>
IAsyncOperation<IReadOnlyList<EmailMailboxChange>>
IAsyncOperation<IReadOnlyList<EmailMailboxChange>>
IAsyncOperation<IReadOnlyList<EmailMailboxChange>>
A batch of changes.