| title | ToastStatusMessage Class | |||
|---|---|---|---|---|
| description | The ToastStatusMessage class is used to create and display toast notifications in the Windows notification center. | |||
| ms.date | 2/26/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
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.
| 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. |
| 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. |
| Method | Description |
|---|---|
| Show() | Displays the toast notification with the specified message. |