Click or drag to resize
NewslettersActivityLogger.LogNewsletterSubscribingActivity Method
Logs subscribtion to newsletter activity.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 10.0.0
Syntax
C#
public void LogNewsletterSubscribingActivity(
	NewsletterInfo newsletter,
	Nullable<int> subscriberID = null,
	Nullable<int> contactId = null
)

Parameters

newsletter
Type: CMS.Newsletters.NewsletterInfo
Newsletter subscriber subscribed to
subscriberID (Optional)
Type: System.Nullable<Int32>
Specifies ID of the subscriber the activity is logged for
contactId (Optional)
Type: System.Nullable<Int32>
If set overrides ActivityContactID of activity
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when newsletter is null.
See Also