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

Class ContentImportingEventArgs

Argument for event raised when a content item is about to be imported.

Inheritance
System.Object
System.EventArgs
ContentImportingEventArgs
Inherited Members
System.EventArgs.Empty
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.Enterprise
Assembly: EPiServer.Enterprise.dll
Version: 11.20.7
Syntax
public class ContentImportingEventArgs : ImportEventArgs

Constructors

ContentImportingEventArgs(ITransferContentData, Type)

Initializes a new instance of the ContentImportingEventArgs class.

Declaration
public ContentImportingEventArgs(ITransferContentData transferContentData, Type importer)
Parameters
Type Name Description
ITransferContentData transferContentData

The transfer content data.

System.Type importer

The importer.

Properties

Cancel

Gets or sets a value indicating whether the import of the content item should be cancelled.

Declaration
public bool Cancel { get; set; }
Property Value
Type Description
System.Boolean

true if cancel; otherwise, false.

TransferContentData

Gets the transfer content data.

Declaration
public ITransferContentData TransferContentData { get; }
Property Value
Type Description
ITransferContentData

The transfer content data.

Extension Methods