Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.44 KB

File metadata and controls

35 lines (25 loc) · 1.44 KB
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
PowerToys
Windows
Insider

ToastStatusMessage Class

Definition

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.

Constructors

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.

Properties

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.

Methods

Method Description
Show() Displays the toast notification with the specified message.