November Happy Hour will be moved to Thursday December 5th.

Class ContentDeleteActivity

An activity related to when content has been deleted.

Inheritance
System.Object
ContentDeleteActivity
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 ContentDeleteActivity : ContentActivity

Constructors

ContentDeleteActivity(ContentReference, Guid, Int32, String, ContentPath, String)

Initializes a new instance of the ContentDeleteActivity class.

Declaration
public ContentDeleteActivity(ContentReference contentLink, Guid contentGuid, int contentTypeId, string name, ContentPath contentPath, string deletedBy)
Parameters
Type Name Description
ContentReference contentLink

The content reference of the content that was deleted.

System.Guid contentGuid

The unique identifier of the content that was deleted.

System.Int32 contentTypeId

The content type of the content that was deleted.

System.String name

The name of the content that was deleted.

ContentPath contentPath

The content path of the content that was deleted.

System.String deletedBy

The username of the user responsible for deleting the content.

ContentDeleteActivity(ContentActionType, ContentReference, Guid, Int32, String, ContentPath, String)

Initializes a new instance of the ContentDeleteActivity class.

Declaration
protected ContentDeleteActivity(ContentActionType contentAction, ContentReference contentLink, Guid contentGuid, int contentTypeId, string name, ContentPath contentPath, string deletedBy)
Parameters
Type Name Description
ContentActionType contentAction

The content action of the recorded activity.

ContentReference contentLink

The content reference of the content that was deleted.

System.Guid contentGuid

The unique identifier of the content that was deleted.

System.Int32 contentTypeId

The content type of the content that was deleted.

System.String name

The name of the content that was deleted.

ContentPath contentPath

The content path of the content that was deleted.

System.String deletedBy

The username of the user responsible for deleting the content.

Properties

ContentPath

Gets the ContentPath of the deleted content item.

Declaration
public virtual ContentPath ContentPath { get; }
Property Value
Type Description
ContentPath

Extension Methods