Differences
This shows you the differences between the selected revisions of the page.
2016-01-20 | 2016-01-22 | ||
use AddRawConfiguration instead of DefaultConfiguration and IniFilePath (martin) | library_sessionoptions#timeout (martin) | ||
Line 38: | Line 38: | ||
| TimeSpan ReconnectTime | Sets time limit in seconds to try reconnecting broken sessions. Default is 120 seconds. Use ''TimeSpan.MaxValue'' to remove any limit. The property has to be set before calling ''Open''. | | | TimeSpan ReconnectTime | Sets time limit in seconds to try reconnecting broken sessions. Default is 120 seconds. 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. | | | int ReconnectTimeInMilliseconds | Alternative to ''ReconnectTime''. Particularly useful for COM hosts, that cannot use ''TimeSpan'', such as Visual Basic. | | ||
- | | 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#timeout|SessionOptions.Timeout]]''. | |
===== Methods ===== | ===== Methods ===== |