INotificationServiceSave Method |
Namespace: Dundas.BI.Notifications
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. -or- The notification has more recipients that the maximum specified by the NotificationMaxRecipients 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. |