Skip to content
Robert Brenckman edited this page Nov 15, 2024 · 6 revisions

Implemented By:

Properties:

Property Name Property Type Description
Name string Custom Name for the object to refer to it by - Has no effect on functionality.

Events:

Name Event Object Description
OnFileProcessed FileProcessedEventArgs Occurs when a file, directory, or system message has been received from the process
OnCommandError CommandErrorEventArgs Occurs when an error occurs while generating the command that prevents the RoboCopy process from starting.
OnCommandCompleted RoboCommandCompletedEventArgs Occurs when the RoboCopy process has finished executing and results are available.
OnCopyProgressChanged CopyProgressEventArgs Occurs each time the current file's progress is updated
OnProgressEstimatorCreated ProgressEstimatorCreatedEventArgs Occurs when an [IProgressEstimator](https://github.com/tjscience/RoboSharp/wiki/IProgressEstimator) has become available for this copy operation.
TaskFaulted UnhandledExceptionEventHandler Occurs if the RoboCommand task is stopped due to an unhandled exception. Occurs instead of `OnCommandCompleted`