Class AsyncCopyCompletedEventArgs
Argument for asyncronus copy operation
Inheritance
Namespace: EPiServer
Assembly: EPiServer.dll
Version: 9.12.2Syntax
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 |
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
DestinationLink
Gets the destination link for the pages that was copied.
Declaration
public ContentReference DestinationLink { get; }
Property Value
Type | Description |
---|---|
ContentReference | The destination link. |
NewLink
Gets the new link for the pages that where copied.
Declaration
public ContentReference NewLink { get; }
Property Value
Type | Description |
---|---|
ContentReference | The new link. |
SourceLink
Gets the source link for the pages that was copied.
Declaration
public ContentReference SourceLink { get; }
Property Value
Type | Description |
---|---|
ContentReference | The source link. |