StorageLibraryContentChangedTrigger StorageLibraryContentChangedTrigger StorageLibraryContentChangedTrigger StorageLibraryContentChangedTrigger StorageLibraryContentChangedTrigger Class

Definition

Creates a trigger that will fire when a file is changed in a specified library.

public : sealed class StorageLibraryContentChangedTrigger : IBackgroundTrigger
struct winrt::Windows::ApplicationModel::Background::StorageLibraryContentChangedTrigger : IBackgroundTrigger
public sealed class StorageLibraryContentChangedTrigger : IBackgroundTrigger
Public NotInheritable Class StorageLibraryContentChangedTrigger Implements IBackgroundTrigger
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Once you create a trigger, register it with a background task

Methods

Create(StorageLibrary) Create(StorageLibrary) Create(StorageLibrary) Create(StorageLibrary) Create(StorageLibrary)

Creates a trigger that will fire when a file is changed in the specified library.

CreateFromLibraries(IIterable<StorageLibrary>) CreateFromLibraries(IIterable<StorageLibrary>) CreateFromLibraries(IIterable<StorageLibrary>) CreateFromLibraries(IIterable<StorageLibrary>) CreateFromLibraries(IIterable<StorageLibrary>)

Creates a trigger that will fire when a file is changed in any of the specified libraries.

See also