ToastNotification.ExpiresOnReboot プロパティ

定義

再起動後にトースト通知が通知センターに残るかどうかを示します。

public:
 property bool ExpiresOnReboot { bool get(); void set(bool value); };
bool ExpiresOnReboot();

void ExpiresOnReboot(bool value);
public bool ExpiresOnReboot { get; set; }
var boolean = toastNotification.expiresOnReboot;
toastNotification.expiresOnReboot = boolean;
Public Property ExpiresOnReboot As Boolean

プロパティ値

Boolean

bool

true の場合、コンピューターの再起動時に通知の有効期限が切れます。

Windows の要件

デバイス ファミリ
Windows 10, version 1903 (10.0.18362.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v8.0 で導入)

適用対象