Edit

Share via


ToastArgs Class

Definition

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.

Properties

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().