共用方式為


UserNotificationReaderOptions

public sealed class UserNotificationReaderOptions : IUserNotificationReaderOptions

這個類別可讓應用程式在通知讀取器上提供選項,例如只接收新的使用者通知,而不是現有的通知更新。

建構函式

UserNotificationReaderOptions

建立並初始化 UserNotificationReaderOptions 的新實例。

public UserNotificationReaderOptions()

UserNotificationReaderOptions (UserNotificationReaderStartPosition, UserNotificationStatusFilter, UserNotificationReadStateFilter, UserNotificationUserActionStateFilter)

使用指定的篩選和開始位置,建立並初始化 UserNotificationReaderOptions 的新實例。

public UserNotificationReaderOptions(UserNotificationReaderStartPosition startPosition, UserNotificationStatusFilter statusFilter, UserNotificationReadStateFilter readStateFilter, UserNotificationUserActionStateFilter userActionStateFilter)

屬性

名稱 描述
StartPosition 取得或設定這個 UserNotificationReaderOptions 實例的開始位置。
StatusFilter 取得或設定您想要建立之此使用者通知讀取器的狀態篩選。
ReadStateFilter 取得或設定針對這個 UserNotificationReaderOptions 實例所設定的讀取狀態篩選。
UserActionStateFilter Getor 會設定針對這個 UserNotificationReaderOptions 實例所設定的使用者動作狀態篩選。