Click or drag to resize

ToastRequest Class

[This is preliminary documentation and is subject to change.]

Toast request container
Inheritance Hierarchy
SystemObject
  DesktopToastToastRequest

Namespace:  DesktopToast
Assembly:  DesktopToast (in DesktopToast.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
public class ToastRequest

The ToastRequest type exposes the following members.

Constructors
  NameDescription
Public methodToastRequest
Default constructor
Top
Properties
  NameDescription
Public propertyActivatorId
AppUserModelToastActivatorCLSID of application (optional, for Action Center of Windows 10)
Public propertyAppId
AppUserModelID of application (required)
Public propertyMaximumDuration
Maximum toast display duration (optional)
Public propertyShortcutArguments
Arguments of shortcut (optional)
Public propertyShortcutComment
Comment of shortcut (optional)
Public propertyShortcutFileName
Shortcut file name to be installed in Start menu (required for shortcut)
Public propertyShortcutIconFilePath
Icon file path of shortcut (optional)
Public propertyShortcutTargetFilePath
Target file path of shortcut (required for shortcut)
Public propertyShortcutWindowState
Window state of shortcut (optional)
Public propertyShortcutWorkingFolder
Working folder of shortcut (optional)
Public propertyToastAudio
Audio type of toast (optional)
Public propertyToastBody
Toast body (required for toast)
Public propertyToastBodyList
Toast body list (optional)
Public propertyToastLogoFilePath
Logo image file path of toast (optional)
Public propertyToastTitle
Toast title (optional)
Public propertyToastXml
XML representation of toast (optional)
Public propertyWaitingDuration
Waiting duration before showing a toast after the shortcut file is installed (optional)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromJsonString
Creates a toast request from a JSON string.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToJsonString
Converts the request to a JSON string.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also