Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1002 Bytes

File metadata and controls

24 lines (17 loc) · 1002 Bytes
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
PowerToys
Windows
Insider

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