Try our conversational search powered by Generative AI!

Class ContentExportingEventArgs

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

Inheritance
System.Object
System.EventArgs
ContentExportingEventArgs
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 ContentExportingEventArgs : ContentExportedEventArgs

Constructors

ContentExportingEventArgs(ContentReference, Type, ITransferContentData)

Initializes a new instance of the ContentExportingEventArgs class.

Declaration
public ContentExportingEventArgs(ContentReference contentReference, Type exporter, ITransferContentData transferContentData)
Parameters
Type Name Description
ContentReference contentReference

The content reference.

System.Type exporter

The exporter.

ITransferContentData transferContentData

The transfer content data.

Properties

Cancel

Gets or sets a value indicating whether the export 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