Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

StorageLibraryContentChangedTrigger 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.

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

Requirements Description
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

Name Description
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


Feedback

Was this page helpful?