Click or drag to resize
CopyFileAction Class
Provides functionality for copying/moving a document or list item.
Inheritance Hierarchy

Namespace: Colygon.MatchPoint.WorkflowKit.Actions
Assembly: Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2013.11.0.0
Syntax
C#
[SerializableAttribute]
public class CopyFileAction : BaseFileAction

The CopyFileAction type exposes the following members.

Constructors
  NameDescription
Public methodCopyFileAction
Initializes a new instance of the CopyFileAction class
Top
Properties
  NameDescription
Public propertyId (Inherited from BaseAction.)
Protected propertyScope Obsolete. (Inherited from BaseAction.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExecute (Overrides BaseActionExecute(WorkflowScope).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetFiles(ExpressionString) Obsolete. (Inherited from BaseFileAction.)
Protected methodGetFiles(WorkflowScope, ExpressionString) (Inherited from BaseFileAction.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessChildElement (Inherited from BaseAction.)
Protected methodRun Obsolete. (Inherited from BaseAction.)
Public methodRun(WorkflowScope) (Inherited from BaseAction.)
Public methodRun(WorkflowScope, Boolean) (Inherited from BaseAction.)
Protected methodRunElevatedIfEnabled(Action) (Inherited from ElevatedBaseAction.)
Protected methodRunElevatedIfEnabledT(FuncT) (Inherited from ElevatedBaseAction.)
Public methodToString (Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldErrorHandler
Specifies an error handling method in case an exception occures during the execution of the action.
(Inherited from BaseAction.)
Public fieldMode
Choose if the file should be copied or moved and if an existing file of the same name is overwritten.
Public fieldRunWithElevatedPrivileges
If enabled, the action is executed with elevated privileges.
(Inherited from ElevatedBaseAction.)
Public fieldSourceExpression
Specifies a SPFile, SPListItem, IListItemWrapper or URL (or IEnumarable of these) of the file(s) to be copied or moved.
Public fieldTargetUrlExpression
Specifies the destination URL. Optional {File.Name} is replaced by the source file name.
Top
Remarks
This is a MatchPoint configuration class.
See Also