StorageLibraryChangeReader Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables the calling app to read through the changes to items in a storage library.
public ref class StorageLibraryChangeReader sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorageLibraryChangeReader final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StorageLibraryChangeReader
Public NotInheritable Class StorageLibraryChangeReader
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Remarks
Get an instance of this object by using the GetChangeReader method of the StorageLibraryChangeTracker class.
Methods
AcceptChangesAsync() |
Tells the system that all of the changes described in the StorageLibraryChange objects returned by the call to ReadBatchAsync have been addressed by the app. |
GetLastChangeId() |
Gets a unique value representing the last change processed by the indexing service for the given StorageFolder or StorageLibrary. |
ReadBatchAsync() |
Asynchronously gets a list of StorageLibraryChange objects. |