ToastRequest Class |
[This is preliminary documentation and is subject to change.]
Namespace: DesktopToast
The ToastRequest type exposes the following members.
| Name | Description | |
|---|---|---|
| ToastRequest |
Default constructor
|
| Name | Description | |
|---|---|---|
| ActivatorId |
AppUserModelToastActivatorCLSID of application (optional, for Action Center of Windows 10)
| |
| AppId |
AppUserModelID of application (required)
| |
| MaximumDuration |
Maximum toast display duration (optional)
| |
| ShortcutArguments |
Arguments of shortcut (optional)
| |
| ShortcutComment |
Comment of shortcut (optional)
| |
| ShortcutFileName |
Shortcut file name to be installed in Start menu (required for shortcut)
| |
| ShortcutIconFilePath |
Icon file path of shortcut (optional)
| |
| ShortcutTargetFilePath |
Target file path of shortcut (required for shortcut)
| |
| ShortcutWindowState |
Window state of shortcut (optional)
| |
| ShortcutWorkingFolder |
Working folder of shortcut (optional)
| |
| ToastAudio |
Audio type of toast (optional)
| |
| ToastBody |
Toast body (required for toast)
| |
| ToastBodyList |
Toast body list (optional)
| |
| ToastLogoFilePath |
Logo image file path of toast (optional)
| |
| ToastTitle |
Toast title (optional)
| |
| ToastXml |
XML representation of toast (optional)
| |
| WaitingDuration |
Waiting duration before showing a toast after the shortcut file is installed (optional)
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FromJsonString |
Creates a toast request from a JSON string.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToJsonString |
Converts the request to a JSON string.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |