Udostępnij za pośrednictwem


StorageLibraryContentChangedTrigger Class

Definition

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

public ref class StorageLibraryContentChangedTrigger sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class StorageLibraryContentChangedTrigger final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class StorageLibraryContentChangedTrigger
Public NotInheritable Class StorageLibraryContentChangedTrigger
Inheritance
Object Platform::Object IInspectable StorageLibraryContentChangedTrigger
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

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

Methods

Create(StorageLibrary)

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

CreateFromLibraries(IIterable<StorageLibrary>)

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

Applies to

See also