A Sandcastle Documented Class Library

# DeliverySettings AddRecipient Method (Guid, Boolean, IList RecipientViewOverride )

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(
    	Guid recipientId,
    	bool isUnsubscribeAllowed,
    	IList<RecipientViewOverride> contentOverrides
    )

    Public Sub AddRecipient (
    	recipientId As Guid,
    	isUnsubscribeAllowed As Boolean,
    	contentOverrides As IList(Of RecipientViewOverride)
    )

    public:
    void AddRecipient(
    	Guid recipientId,
    	bool isUnsubscribeAllowed,
    	IList<RecipientViewOverride^>^ contentOverrides
    )

    member AddRecipient :
            recipientId : Guid *
            isUnsubscribeAllowed : bool *
            contentOverrides : IList<RecipientViewOverride> -> unit

#### Parameters

recipientId
  Type: System
  Guid
  The account or group ID.
isUnsubscribeAllowed
  Type: System
  Boolean
  If set to
  , the recipient is allowed to unsubscribe.
contentOverrides
  Type: System.Collections.Generic
  IList
  RecipientViewOverride
  A list of overrides to be applied for this recipient when generating exports.

Exceptions

Exception | Condition
--- | ---
ArgumentException | recipientId is Empty.
InvalidContentOverrideException | Occurs when the user tries to add a mail recipient with content overrides and the view ID provided is not one of the views being exported.

See Also

#### Reference

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