Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
The ToastStatusMessage class is used to create and display toast notifications in Windows. It provides a way to show status messages to users in a non-intrusive manner.
Constructors
| Constructor | Description |
|---|---|
| ToastStatusMessage(StatusMessage) | Creates a new instance of the ToastStatusMessage class with the specified status message. |
| ToastStatusMessage(String) | Creates a new instance of the ToastStatusMessage class with the specified message. |
Properties
| Property | Type | Description |
|---|---|---|
| Duration | Integer | The duration for which the toast message will be displayed. |
| Message | StatusMessage | The status message to be displayed in the toast notification. |
Methods
| Method | Description |
|---|---|
| Show() | Displays the toast notification with the specified message. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Windows developer