StorageLibraryContentChangedTrigger 類別

定義

建立觸發程式,此觸發程式會在指定的程式庫中變更檔案時引發。

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
繼承
Object Platform::Object IInspectable StorageLibraryContentChangedTrigger
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

建立觸發程式之後,請向背景工作註冊它

方法

Create(StorageLibrary)

建立觸發程式,此觸發程式會在指定的程式庫中變更檔案時引發。

CreateFromLibraries(IIterable<StorageLibrary>)

建立觸發程式,此觸發程式會在任何指定的程式庫中變更檔案時引發。

適用於

另請參閱