ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Framework Namespace / FrameworkApplication Class / AddNotification Method
The Notification to show.
Example

In This Topic
    AddNotification Method (FrameworkApplication)
    In This Topic
    Presents a notification.
    Syntax
    Public Shared Sub AddNotification( _
       ByVal notification As Notification _
    ) 
    public static void AddNotification( 
       Notification notification
    )

    Parameters

    notification
    The Notification to show.
    Example
    Add a toast notification
    {
      Notification notification = new()
      {
        Title = FrameworkApplication.Title,
        Message = "Notification 1",
        ImageSource = Application.Current.Resources["ToastLicensing32"] as ImageSource
      };
    
      FrameworkApplication.AddNotification(notification);
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also