| title | ToastArgs Class definition | |||
|---|---|---|---|---|
| description | The ToastArgs class implements the IToastArgs interface and is used to define the arguments for a toast notification. | |||
| ms.date | 2/11/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Implements IToastArgs
The ToastArgs class implements the IToastArgs interface and is used to define the arguments for a toast notification. It contains properties for the message text and the result of the command.
| Property | Type | Description |
|---|---|---|
| Message | String | Gets or sets the text of the toast. |
| Result | ICommandResult | Gets or sets the result of the command. Defaults to CommandResult.Dismiss(). |