ArcGIS Pro 2.7 API Reference Guide
NotificationItem Constructor(String,Boolean,String,NotificationType,String,Delegate,Object[],String,Boolean,String,DateTime,String,String,Delegate,Object[])

ArcGIS.Desktop.Framework Namespace > NotificationItem Class > NotificationItem Constructor : NotificationItem Constructor(String,Boolean,String,NotificationType,String,Delegate,Object[],String,Boolean,String,DateTime,String,String,Delegate,Object[])
A unique identifier of the notification item
Indicates if the item shows in the Application or Project category.
Message
Type of Error, Warning, Confirmation, Information, or Custom
The text that shows the action the notification will perform on click.
A custom handler specified to control what happens when a notification is clicked.
The arguments associated with the action handler.
A detailed message.
Indicates if the notification item has an associated context menu.
The help ID for the item.
The date displayed for the item
Custom image
A custom menu item that shows on the item's context menu.
The custom handler assoicated with the custom menu item.
The arguments for the custom context menu item.
The constructor to create a notification item.
Syntax
Public Function New( _
   ByVal id As String, _
   ByVal isApplicationLevel As Boolean, _
   ByVal message As String, _
   ByVal type As NotificationType, _
   ByVal actionText As String, _
   Optional ByVal action As Delegate, _
   Optional ByVal actionArgs() As Object, _
   Optional ByVal details As String, _
   Optional ByVal showContextMenu As Boolean, _
   Optional ByVal helpContextID As String, _
   Optional ByVal date As Date, _
   Optional ByVal customImage As String, _
   Optional ByVal customContextMenuItemText As String, _
   Optional ByVal customContextMenuItemDelegate As Delegate, _
   Optional ByVal contextMenuItemArgs() As Object _
)

Parameters

id
A unique identifier of the notification item
isApplicationLevel
Indicates if the item shows in the Application or Project category.
message
Message
type
Type of Error, Warning, Confirmation, Information, or Custom
actionText
The text that shows the action the notification will perform on click.
action
A custom handler specified to control what happens when a notification is clicked.
actionArgs
The arguments associated with the action handler.
details
A detailed message.
showContextMenu
Indicates if the notification item has an associated context menu.
helpContextID
The help ID for the item.
date
The date displayed for the item
customImage
Custom image
customContextMenuItemText
A custom menu item that shows on the item's context menu.
customContextMenuItemDelegate
The custom handler assoicated with the custom menu item.
contextMenuItemArgs
The arguments for the custom context menu item.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

NotificationItem Class
NotificationItem Members
Overload List