Click or drag to resize
IBlogsActivityLoggerLogBlogPostSubscriptionActivity Method (BlogPostSubscriptionInfo, Int32, Int32, String)
Logs Blog post subscription.

Namespace: CMS.Blogs
Assembly: CMS.Blogs (in CMS.Blogs.dll) Version: 12.0.0
Syntax
C#
void LogBlogPostSubscriptionActivity(
	BlogPostSubscriptionInfo blogPostSubscriptionInfo,
	int contactId,
	int siteId,
	string campaign
)

Parameters

blogPostSubscriptionInfo
Type: CMS.BlogsBlogPostSubscriptionInfo
BlogPostSubscriptionInfo to log
contactId
Type: SystemInt32
Contact to log activity for
siteId
Type: SystemInt32
Site to log activity for
campaign
Type: SystemString
Campaign to log activity for
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when blogPostSubscriptionInfo is null.
ArgumentExceptionThrown when blog post or blog of blogPostSubscriptionInfo is null.
See Also