Class ContentMoveActivity
An activity related to when a content item has been moved.
Inherited Members
Namespace: EPiServer.DataAbstraction.Activities
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class ContentMoveActivity : ContentActivity
  Constructors
ContentMoveActivity(ContentReference, Guid, Int32, String, ContentReference, Guid, ContentReference, Guid, String)
Initializes a new instance of the ContentMoveActivity class.
Declaration
public ContentMoveActivity(ContentReference contentLink, Guid contentGuid, int contentTypeId, string name, ContentReference oldParent, Guid oldParentGuid, ContentReference newParent, Guid newParentGuid, string movedBy)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ContentReference | contentLink | The content reference of the content that the activity is related to.  | 
      
| System.Guid | contentGuid | The unique identifier of the content that the activity is related to.  | 
      
| System.Int32 | contentTypeId | The content type of the content that the activity is related to.  | 
      
| System.String | name | The name of the content that the activity is related to.  | 
      
| ContentReference | oldParent | The content reference of the parent before the move.  | 
      
| System.Guid | oldParentGuid | The unique identifier of the parent before the move.  | 
      
| ContentReference | newParent | The content reference of new parent after the move.  | 
      
| System.Guid | newParentGuid | The unique identifier of the new parent after the move.  | 
      
| System.String | movedBy | The username of the user responsible for the content move.  | 
      
Properties
NewParent
Gets the ContentReference of the new parent after the move of the content.
Declaration
public ContentReference NewParent { get; }
  Property Value
| Type | Description | 
|---|---|
| ContentReference | 
NewParentGuid
Gets the unique identifier of the new parent after the move of the content.
Declaration
public Guid NewParentGuid { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Guid | 
OldParent
Gets the ContentReference of the parent before the move of the content.
Declaration
public ContentReference OldParent { get; }
  Property Value
| Type | Description | 
|---|---|
| ContentReference | 
OldParentGuid
Gets the unique identifier of the parent before the move of the content.
Declaration
public Guid OldParentGuid { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Guid |