Differences

This shows you the differences between the selected revisions of the page.

library_transferoperationresult 2014-12-01 library_transferoperationresult 2022-09-08 (current)
Line 20: Line 20:
| [[library_doc_collections|SessionRemoteExceptionCollection]] Failures | Collection of all errors that occured during batch operation. See ''[[library_sessionremoteexception|SessionRemoteException]]''. See also [[library_session#results|Capturing results of operations]]. Read-only. (Inherited from ''[[library_operationresultbase|OperationResultBase]]''.) | | [[library_doc_collections|SessionRemoteExceptionCollection]] Failures | Collection of all errors that occured during batch operation. See ''[[library_sessionremoteexception|SessionRemoteException]]''. See also [[library_session#results|Capturing results of operations]]. Read-only. (Inherited from ''[[library_operationresultbase|OperationResultBase]]''.) |
| bool IsSuccess | Is ''true'', if ''Failures'' is empty collection. Read-only. (Inherited from ''[[library_operationresultbase|OperationResultBase]]''.) | | bool IsSuccess | Is ''true'', if ''Failures'' is empty collection. Read-only. (Inherited from ''[[library_operationresultbase|OperationResultBase]]''.) |
-| [[library_doc_collections|TransferEventArgsCollection]] Transfers | Collection of transfers. See ''[[library_transfereventargs|TransferEventArgs]]''. Read-only. |+| [[library_doc_collections|TransferEventArgsCollection]] ==Transfers== | Collection of transfers. See ''[[library_transfereventargs|TransferEventArgs]]''. Read-only. |
===== Methods ===== ===== Methods =====
^ Name ^ Description ^ ^ Name ^ Description ^
-| Check | Noop, if ''IsSuccess'' is ''true''. Throws the first error in ''Failures'', if ''IsSuccess'' is ''false''. |+| ==Check== | Noop, if ''IsSuccess'' is ''true''. Throws the first error in ''Failures'', if ''IsSuccess'' is ''false''. (Inherited from ''[[library_operationresultbase|OperationResultBase]]''.) |
===== Remarks ===== ===== Remarks =====
-Instance of the class is returned by ''[[library_session_getfiles|Session.GetFiles]]'' and ''[[library_session_putfiles|Session.PutFiles]]''.+This class can only be instantiated by the WinSCP assembly. To get an instance of the class, call ''[[library_session_getfiles|Session.GetFiles]]'' and ''[[library_session_putfiles|Session.PutFiles]]''.
===== Example ===== ===== Example =====
See [[library#example|overall example for WinSCP .NET assembly]]. See [[library#example|overall example for WinSCP .NET assembly]].
-==== Real-Life Example ====+==== Real-Life Examples ==== 
 + 
 +  * [[library_example_recursive_search_text|*]]; 
 +  * [[library_example_recursive_download_custom_error_handling|*]]; 
 +  * [[library_example_find_duplicate_files|*]]; 
 +  * [[faq_script_modified_files|*]].
-  * [[library_example_recursive_search_text|Search recursively for text in remote directory / Grep files over SFTP/FTP protocol]]. 

Last modified: by martin