RemovalOperationResult Class

Represents results of file removal.

Advertisement

Syntax

Namespace: WinSCP

C#
VB.NET
Public NotInheritable Class RemovalOperationResult
    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.)
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.)

Remarks

This class can only be instantiated by the WinSCP assembly. To get an instance of the class, call Session.RemoveFiles.

Advertisement

Last modified: by martin