ToastNotification.ExpiresOnReboot Property
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.
Indicates whether the toast notification will remain in the Notification Center after a reboot.
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
Property Value
Boolean
bool
If true, notification will expire when the computer is rebooted.
Windows requirements
Device family |
Windows 10, version 1903 (introduced in 10.0.18362.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v8.0)
|