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 (8.0.2.1001)
SyntaxNotification GetNotification(
Guid notificationId,
bool skipContent
)
Function GetNotification (
notificationId As Guid,
skipContent As Boolean
) As Notification
Notification^ GetNotification(
Guid notificationId,
bool skipContent
)
abstract GetNotification :
notificationId : Guid *
skipContent : bool -> Notification
Parameters
- notificationId
- Type: SystemGuid
The notification identifier. - skipContent
- Type: SystemBoolean
Specifies whether the notification content should be loaded.
Return Value
Type:
NotificationThe notification.
Exceptions| Exception | Condition |
|---|
| ArgumentException | notificationId is Empty. |
| NotFoundException | The notification referenced by notificationId could not be found. |
| NoPrivilegeException | The caller does not have permission to access the specified notification. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also