This is an old revision of the document!

SynchronizationResult Class

Represents results of synchronization.

Advertisement

Syntax

Namespace: WinSCP

C#
VB.NET
Public NotInheritable Class SynchronizationResult
    Inherits OperationResultBase

Properties

Name Description
SessionRemoteExceptionCollection Failures Collection of all errors that occured during batch operation. See SessionRemoteException. 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.)
TransferEventArgsCollection Uploads Collection of uploads. See TransferEventArgs. Read-only.
TransferEventArgsCollection Downloads Collection of downloads. See TransferEventArgs. Read-only.
RemovalEventArgsCollection Removals Collection of removals. See RemovalEventArgs. Read-only.

Methods

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

Advertisement

Remarks

Instance of the class is returned by Session.SynchronizeDirectories.

Example

See example for Session.SynchronizeDirectories.

Last modified: by martin