A Sandcastle Documented Class Library

# ScheduledNotification Constructor (String, NotificationContent, ScheduleRule, DeliverySettings)

Initializes a new instance of the ScheduledNotification class.

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

    public ScheduledNotification(
    	string name,
    	NotificationContent content,
    	ScheduleRule scheduleRule,
    	DeliverySettings delivery
    )

    Public Sub New (
    	name As String,
    	content As NotificationContent,
    	scheduleRule As ScheduleRule,
    	delivery As DeliverySettings
    )

    public:
    ScheduledNotification(
    	String^ name,
    	NotificationContent^ content,
    	ScheduleRule^ scheduleRule,
    	DeliverySettings^ delivery
    )

    new :
            name : string *
            content : NotificationContent *
            scheduleRule : ScheduleRule *
            delivery : DeliverySettings -> ScheduledNotification

#### Parameters

name
  Type: System
  String
  The name of the notification.
content
  Type: Dundas.BI.Notifications
  NotificationContent
  The notification content.
scheduleRule
  Type: Dundas.BI.Scheduling
  ScheduleRule
  The schedule rule used for the delivery of the notification.
delivery
  Type: Dundas.BI.Notifications.Delivery
  DeliverySettings
  The delivery settings.

Exceptions

Exception | Condition
--- | ---
ArgumentException | name is , empty, or consists solely of whitespace.
ArgumentNullException | content, scheduleRule or delivery is .
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

ScheduledNotification Class
ScheduledNotification Overload
Dundas.BI.Notifications Namespace