Click or drag to resize
NewslettersActivityLoggerLogUnsubscribeFromSingleNewsletterActivity Method
Logs unsubscription from single newsletter activity.

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

Parameters

newsletter
Type: CMS.NewslettersNewsletterInfo
Newsletter contact has unsubscribed from
issueID (Optional)
Type: SystemNullableInt32
ID of issue used for unsubscribe
contactId (Optional)
Type: SystemNullableInt32
If set overrides ActivityContactID of activity

Implements

INewslettersActivityLoggerLogUnsubscribeFromSingleNewsletterActivity(NewsletterInfo, NullableInt32, NullableInt32)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when newsletter is null.
See Also