This is an old revision of the document!

TransferOperationResult Class

Represents results of transfer operation.

Advertisement

This feature is available only in the latest beta release.

Syntax

Namespace: WinSCP

C#
VB.NET
Public NotInheritable Class TransferOperationResult
    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 Transfers Collection of transfers. See TransferEventArgs. Read-only.

Methods

Name Description
Check Noop, if IsSuccess is true. Throws the first error in Failures, if IsSuccess is false.

Advertisement

Remarks

Instance of the class is returned by Session.GetFiles and Session.PutFiles.

Last modified: by Petr