INotificationServiceGetNotification Method (Guid, Boolean)

Gets a notification by its identifier.

Namespace:  Dundas.BI.Notifications
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
Notification GetNotification(
	Guid notificationId,
	bool skipContent
)

Parameters

notificationId
Type: SystemGuid
The notification identifier.
skipContent
Type: SystemBoolean
Specifies whether the notification content should be loaded.

Return Value

Type: Notification
The notification.
Exceptions
ExceptionCondition
ArgumentExceptionnotificationId is Empty.
NotFoundExceptionThe notification referenced by notificationId could not be found.
NoPrivilegeExceptionThe caller does not have permission to access the specified notification.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also