SaaS CMS has officially launched! Learn more now.

Class ContentDeletedItemsActivity

An activity recording all deleted content items.

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

Constructors

ContentDeletedItemsActivity(ContentReference, Guid, Int32, String, String, IEnumerable<Guid>)

Initializes a new instance of the ContentDeletedItemsActivity class.

Declaration
public ContentDeletedItemsActivity(ContentReference contentLink, Guid contentGuid, int contentTypeId, string name, string deletedBy, IEnumerable<Guid> deletedIdentities)
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.

System.String deletedBy

The username of the user responsible for deleting the content.

System.Collections.Generic.IEnumerable<System.Guid> deletedIdentities

A list of all deleted identities.

Fields

IdentitiesKey

The identities key

Declaration
public const string IdentitiesKey = "Identities"
Field Value
Type Description
System.String

Properties

DeletedIdentities

Gets a list of the deleted identities.

Declaration
public virtual IEnumerable<Guid> DeletedIdentities { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Guid>

Extension Methods