Differences

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

library_commandexecutionresult 2016-02-05 library_commandexecutionresult 2026-11-12 (current)
Line 2: Line 2:
Represents results of [[library_session_executecommand|Session.ExecuteCommand]]. Represents results of [[library_session_executecommand|Session.ExecuteCommand]].
-===== Syntax =====+===== [[syntax]] Syntax =====
Namespace: ''WinSCP'' Namespace: ''WinSCP''
<code csharp *> <code csharp *>
-public sealed class CommandExecutionResult : OperationResultBase+public sealed class CommandExecutionResult : OperationResultBase, ICommandExecutionResult
</code> </code>
Line 12: Line 12:
Public NotInheritable Class CommandExecutionResult Public NotInheritable Class CommandExecutionResult
    Inherits OperationResultBase     Inherits OperationResultBase
 +    Implements ICommandExecutionResult
</code> </code>
===== Properties ===== ===== Properties =====
^ Name ^ Description ^ ^ Name ^ Description ^
-| string ErrorOutput| Error output of the command. Read-only. | +| string ==ErrorOutput== | Error output of the command. Read-only. | 
-| int ExitCode | Exit code of the command. Read-only. | +| int ==ExitCode== | Exit code of the command. Read-only. | 
-| [[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]]''.) | 
-| string Output | Standard output of the command. Read-only. |+| string ==Output== | Standard output of the command. Read-only. |
===== Methods ===== ===== Methods =====
Line 27: Line 28:
===== Remarks ===== ===== Remarks =====
-Instance of the class is returned by [[library_session_executecommand|Session.ExecuteCommand]].+This class can only be instantiated by the WinSCP assembly. To get an instance of the class, call [[library_session_executecommand|''Session.ExecuteCommand'']].

Last modified: by martin