ArcGIS Pro 3.0 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 static void AddNotification( 
       Notification notification
    )
    Public Shared Sub AddNotification( _
       ByVal notification As Notification _
    ) 

    Parameters

    notification
    The Notification to show.
    Example
    Add a toast notification
    Notification notification = new Notification();
    notification.Title = FrameworkApplication.Title;
    notification.Message = "Notification 1";
    notification.ImageUrl = @"pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/ToastLicensing32.png";
    
    ArcGIS.Desktop.Framework.FrameworkApplication.AddNotification(notification);
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also