SaaS CMS has officially launched! Learn more now.

Class ContentPublishActivity

An activity related to when a content item has been published.

Inheritance
System.Object
ContentPublishActivity
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction.Activities
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class ContentPublishActivity : ContentActivity

Constructors

ContentPublishActivity(ContentActionType, ContentReference, CultureInfo, Guid, Int32, String, String, Nullable<VersionStatus>)

Creates a new instance of ContentPublishActivity

Declaration
public ContentPublishActivity(ContentActionType contentAction, ContentReference contentLink, CultureInfo language, Guid contentGuid, int contentTypeId, string name, string changedBy, VersionStatus? previousStatus)
Parameters
Type Name Description
ContentActionType contentAction
ContentReference contentLink
System.Globalization.CultureInfo language
System.Guid contentGuid
System.Int32 contentTypeId
System.String name
System.String changedBy
System.Nullable<VersionStatus> previousStatus

Properties

PreviousStatus

Gets the previous status for the content item.

Declaration
public VersionStatus? PreviousStatus { get; }
Property Value
Type Description
System.Nullable<VersionStatus>

Extension Methods