Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
11.4
11.5
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
Statistic
FMM
Blog
WindowsUserNotification.SetExpiresOnReboot
Sets whether the toast notification will remain in the Notification Center after a reboot.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WindowsUserNotification | 13.1 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
MBS( "WindowsUserNotification.SetExpiresOnReboot"; Notification; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
Notification | The reference number for the Windows User Notification. | $Notification |
Value | The new setting. 1 to expire on debug, 0 if not. |
0 |
Result
Returns OK or error.
Description
Sets whether the toast notification will remain in the Notification Center after a reboot.If 1, notification will expire when the computer is rebooted.
Requires Windows 10, version 1903 (introduced in 10.0.18362.0)
Value is -1 to take Windows’ default setting.
See also
Release notes
- Version 13.1
- Added WindowsUserNotification.SetExpiresOnReboot and WindowsUserNotification.GetExpiresOnReboot functions.
- Added WindowsUserNotification.SetExpiresOnReboot and WindowsUserNotification.GetExpiresOnReboot functions.
Blog Entries
This function checks for a paid license.
Created 21st January 2023, last changed 21st January 2023
WindowsUserNotification.ReleaseAll - WindowsUserNotification.SetFileName
