A Sandcastle Documented Class Library

# DeliverySettings AddRecipient Method (String, Boolean)

Adds the recipient.

Namespace: Dundas.BI.Notifications.Delivery
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 void AddRecipient(
    	string email,
    	bool isUnsubscribeAllowed
    )

    Public Sub AddRecipient (
    	email As String,
    	isUnsubscribeAllowed As Boolean
    )

    public:
    void AddRecipient(
    	String^ email,
    	bool isUnsubscribeAllowed
    )

    member AddRecipient :
            email : string *
            isUnsubscribeAllowed : bool -> unit

#### Parameters

email
  Type: System
  String
  The email.
isUnsubscribeAllowed
  Type: System
  Boolean
  If set to
  , the recipient is allowed to unsubscribe.

Exceptions

Exception | Condition
--- | ---
ArgumentException | email is or Empty.
InvalidRecipientTypeException | If ExportUsingRecipientAccount is set to then email address recipients cannot be used.

See Also

#### Reference

DeliverySettings Class
AddRecipient Overload
Dundas.BI.Notifications.Delivery Namespace