public NotificationItem( string id, bool isApplicationLevel, string message, NotificationType type, string actionText, Delegate action, object[] actionArgs, string details, bool showContextMenu, string helpContextID, DateTime date, string customImage, string customContextMenuItemText, Delegate customContextMenuItemDelegate, object[] contextMenuItemArgs )
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.