INotificationServiceSave Method

Creates or updates a notification.

Namespace:  Dundas.BI.Notifications
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void Save(
	Notification notification
)

Parameters

notification
Type: Dundas.BI.NotificationsNotification
The notification definition.
Exceptions
ExceptionCondition
ArgumentNullExceptionnotification is .
InvalidRecipientTypeException The notification creates exports using the recipient account, but one of the recipients is identified only by their email address.
InvalidOperationExceptionThe notification does not have its content loaded.
ValidationException

The delivery type is email, but no recipients have been specified.

-or-

One or more email recipients have a user-specified email address, but the value of the NotificationAllowUserSpecifiedEmailRecipients configuration setting is .

-or-

One or more email recipients have a user-specified email address, which doesn't correspond to one of the domains listed in the NotificationAllowedUserSpecifiedEmailRecipientDomains configuration setting.

NoPrivilegeException

The caller does not have permission to save the specified notification

-or-

The caller is trying to save a notification which creates exports using the recipient account, but the account doesn't correspond to the caller and the caller is not an administrator or tenant administrator.

-or-

The caller attempted to explicitly specify recipients, but does not have the SpecifyNotificationRecipients privilege.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also