Class ContentDeleteActivity
An activity related to when content has been deleted.
Inheritance
Inherited Members
Namespace: EPiServer.DataAbstraction.Activities
Assembly: EPiServer.dll
Version: 8.11.0Syntax
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 |