A Sandcastle Documented Class Library

# INotificationService Save Method

Creates or updates a notification.

Namespace: Dundas.BI.Notifications
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void Save(
    	Notification notification
    )

    Sub Save (
    	notification As Notification
    )

    void Save(
    	Notification^ notification
    )

    abstract Save :
            notification : Notification -> unit

#### Parameters

notification
  Type: Dundas.BI.Notifications
  Notification
  The notification definition.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | notification is .
InvalidRecipientTypeException | The notification creates exports using the recipient account, but one of the recipients is identified only by their email address.
InvalidOperationException | The 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.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

INotificationService Interface
Dundas.BI.Notifications Namespace