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

Class AsyncCopyCompletedEventArgs

Argument for asyncronus copy operation

Inheritance
System.Object
AsyncCopyCompletedEventArgs
Namespace: EPiServer
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
[Obsolete("This class is no longer in use and will be removed in a future release", false)]
public class AsyncCopyCompletedEventArgs : AsyncCompletedEventArgs

Constructors

AsyncCopyCompletedEventArgs(ContentReference, ContentReference, ContentReference, Exception, Boolean, Object)

Initializes a new instance of the AsyncCopyCompletedEventArgs class.

Declaration
public AsyncCopyCompletedEventArgs(ContentReference sourceLink, ContentReference destinationLink, ContentReference newLink, Exception e, bool cancelled, object userState)
Parameters
Type Name Description
ContentReference sourceLink

The source link.

ContentReference destinationLink

The destination link.

ContentReference newLink

The new link.

System.Exception e

The e.

System.Boolean cancelled

if set to true [cancelled].

System.Object userState

Custom Data.

AsyncCopyCompletedEventArgs(ContentReference, ContentReference, ContentReference, Object)

Initializes a new instance of the AsyncCopyCompletedEventArgs class.

Declaration
public AsyncCopyCompletedEventArgs(ContentReference sourceLink, ContentReference destinationLink, ContentReference newLink, object userState)
Parameters
Type Name Description
ContentReference sourceLink

The source link.

ContentReference destinationLink

The destination link.

ContentReference newLink

The new link.

System.Object userState

State of the user.

AsyncCopyCompletedEventArgs(Exception, Object)

Initializes a new instance of the AsyncCopyCompletedEventArgs class.

Declaration
public AsyncCopyCompletedEventArgs(Exception exception, object userState)
Parameters
Type Name Description
System.Exception exception

The exception.

System.Object userState

State of the user.

Properties

Gets the destination link for the pages that was copied. If the operation failed this property will throw System.Reflection.TargetInvocationException. Property System.Exception contains the exception from the background copy operation.

Declaration
public ContentReference DestinationLink { get; }
Property Value
Type Description
ContentReference

The destination link.

Gets the new link for the pages that where copied. If the operation failed this property will throw System.Reflection.TargetInvocationException. Property System.Exception contains the exception from the background copy operation.

Declaration
public ContentReference NewLink { get; }
Property Value
Type Description
ContentReference

The new link.

Gets the source link for the pages that was copied. If the operation failed this property will throw System.Reflection.TargetInvocationException. Property System.Exception contains the exception from the background copy operation.

Declaration
public ContentReference SourceLink { get; }
Property Value
Type Description
ContentReference

The source link.

Extension Methods