Differences
This shows you the differences between the selected revisions of the page.
| 2014-10-24 | 2015-02-18 | ||
| 5.6.2 Bug 1225: An ExitCode property added to CommandExecutionResult in .NET assembly and an exitcode tag added to XML logging. (martin) | releasing 5.7 stable, removing &beta tags (or replacing with &recent) (martin) | ||
| Line 5: | Line 5: | ||
| Namespace: ''WinSCP'' | Namespace: ''WinSCP'' | ||
| - | Prior to 5.6.2 beta: &beta | + | Since 5.7/5.6.2 beta: &recent |
| <code csharp *> | <code csharp *> | ||
| - | public sealed class CommandExecutionResult | + | public sealed class CommandExecutionResult : OperationResultBase |
| </code> | </code> | ||
| <code vbnet *> | <code vbnet *> | ||
| Public NotInheritable Class CommandExecutionResult | Public NotInheritable Class CommandExecutionResult | ||
| + | Inherits OperationResultBase | ||
| </code> | </code> | ||
| - | Since 5.6.2 beta: | + | Prior to 5.6.2 beta: |
| <code csharp *> | <code csharp *> | ||
| - | public sealed class CommandExecutionResult : OperationResultBase | + | public sealed class CommandExecutionResult |
| </code> | </code> | ||
| <code vbnet *> | <code vbnet *> | ||
| Public NotInheritable Class CommandExecutionResult | Public NotInheritable Class CommandExecutionResult | ||
| - | Inherits OperationResultBase | ||
| </code> | </code> | ||
| Line 29: | Line 29: | ||
| ^ 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. &beta_feature. | | + | | 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]]''.) &beta_feature | | + | | [[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]]''.) &beta_feature | | + | | 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 ===== | ||
| ^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
| - | | Check | Noop, if ''IsSuccess'' is ''true''. Throws the first error in ''Failures'', if ''IsSuccess'' is ''false''. &beta_feature | | + | | Check | Noop, if ''IsSuccess'' is ''true''. Throws the first error in ''Failures'', if ''IsSuccess'' is ''false''. | |
| ===== Remarks ===== | ===== Remarks ===== | ||
| Instance of the class is returned by [[library_session_executecommand|Session.ExecuteCommand]]. | Instance of the class is returned by [[library_session_executecommand|Session.ExecuteCommand]]. | ||