Initializes a new instance of the CopyThread class.

Namespace:  EPiServer.Core.Transfer
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public CopyThread(
	IPrincipal user,
	PageReference pageToCopy,
	IPageTransferContext context,
	AccessLevel requiredSourceAccess,
	AccessLevel requiredDestinationAccess,
	bool publishOnDestination
)

Parameters

user
Type: System.Security.Principal..::.IPrincipal
The user to use when copying the pages.
pageToCopy
Type: EPiServer.Core..::.PageReference
The page to copy.
context
Type: EPiServer.Core.Transfer..::.IPageTransferContext
The tansfer context.
requiredSourceAccess
Type: EPiServer.Security..::.AccessLevel
The required source access.
requiredDestinationAccess
Type: EPiServer.Security..::.AccessLevel
The required destination access.
publishOnDestination
Type: System..::.Boolean
if set to true publish the transfered pages.

See Also