This is an old revision of the document!

SynchronizationResult Class

Represents results of synchronization.

Syntax

Namespace: WinSCP

Advertisement

public sealed class SynchronizationResult : OperationResultBase

Properties

Name Description
IList<SessionException> Failures List of all errors that occured during batch operation. See also Capturing results of operations. Read-only. (Inherited from OperationResultBase.)
bool IsSuccess Is true, if Failures is empty collection. Read-only. (Inherited from OperationResultBase.)
IList<TransferArgs> Uploads List of uploads. Read-only.
IList<TransferArgs> Downloads List of downloads. Read-only.
IList<RemovalArgs> Removals List of file removals. Read-only.

Methods

Name Description
Check Noop, if IsSuccess is true. Throws the first error in Failures, if IsSuccess is false. (Inherited from OperationResultBase.)

Remarks

Instance of the class is returned by Session.SynchronizeDirectories.

Advertisement

Last modified: by martin