Differences
This shows you the differences between the selected revisions of the page.
2014-10-24 | 2014-10-30 | ||
5.6.2 Bug 1225: An ExitCode property added to CommandExecutionResult in .NET assembly and an exitcode tag added to XML logging. (martin) | 5.6.2 Defaulting Session.ReconnectTime to 120 seconds to match the new actual default (see 1173). Setting the property to TimeSpan.MaxValue removes any limit. (martin) | ||
Line 33: | Line 33: | ||
| bool Opened | Is session opened yet? ''true'', when ''Open'' was successfully called already. Read-only. | | | bool Opened | Is session opened yet? ''true'', when ''Open'' was successfully called already. Read-only. | | ||
| [[library_doc_collections|StringCollection]] Output | Output of WinSCP console session. See also ''[[library_session_outputdatareceived|OutputDataReceived]]'' event. Read-only. | | | [[library_doc_collections|StringCollection]] Output | Output of WinSCP console session. See also ''[[library_session_outputdatareceived|OutputDataReceived]]'' event. Read-only. | | ||
- | | TimeSpan ReconnectTime | Sets time limit in seconds to try reconnecting broken sessions. Default is unlimited. The property has to be set before calling ''Open''. | | + | | TimeSpan ReconnectTime | Sets time limit in seconds to try reconnecting broken sessions. Default is unlimited (//in the stable release//) or 120 seconds (//in the latest beta release//)&beta. Use ''TimeSpan.MaxValue'' to remove any limit. The property has to be set before calling ''Open''. | |
| int ReconnectTimeInMilliseconds | Alternative to ''ReconnectTime''. Particularly useful for COM hosts that cannot use ''TimeSpan'', such as Visual Basic. &beta_feature | | | int ReconnectTimeInMilliseconds | Alternative to ''ReconnectTime''. Particularly useful for COM hosts that cannot use ''TimeSpan'', such as Visual Basic. &beta_feature | | ||
| TimeSpan Timeout | Maximal interval between two consecutive outputs from WinSCP console session, before ''TimeoutException'' is thrown. The default is one minute. It's not recommended to change the value. For session/connection timeout, see ''[[library_sessionoptions|SessionOptions.Timeout]]''. | | | TimeSpan Timeout | Maximal interval between two consecutive outputs from WinSCP console session, before ''TimeoutException'' is thrown. The default is one minute. It's not recommended to change the value. For session/connection timeout, see ''[[library_sessionoptions|SessionOptions.Timeout]]''. | |