ArcGIS Pro 2.7 API Reference Guide
Notification Class
Members  Example 

ArcGIS.Desktop.Framework Namespace : Notification Class
Represents a toast style notification.
Syntax
Remarks

A toast notification is a transient message to the user that contains relevant, time-sensitive information and provides quick access to related content in an application. Notifications appear in the top right hand corner of the display and last for a few seconds unless the mouse pointer is over top them. Up to four notifications can appear at the same time. If more than four notifications are sent, each new notification bumps off the oldest one in the queue.

Use FrameworkApplication.AddNotification to pop-up a new notification.

Example
protected internal override void OnClick()
{
  Notification notification = new Notification()
  {
    Title = "Command completion",
    Message = "Your task has completed",
    ImageUrl = "/Images/ArcGIS32.png"
  };
            
  FrameworkApplication.AddNotification(notification);
}
Inheritance Hierarchy

System.Object
   ArcGIS.Desktop.Framework.Notification

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Notification Members
ArcGIS.Desktop.Framework Namespace
AddNotification Method
RemoveNotification Method