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
Display a transient desktop-level message to the user. This is especially useful for displaying confirmation that an action took place when the palette will be closed. Consider the CopyTextCommand in the helpers - this command will show a toast with the text "Copied to clipboard", then dismiss the palette.
Creates a new CommandResult instance with its Kind property set to CommandResultKind.ShowToast and its Args set to args.
Parameters
args ToastArgs
The arguments for the toast message. This includes the message to be displayed and any other relevant information.
Returns
A CommandResult instance.
Windows developer