PowerTCP SSH and SFTP for .NET
Timeout Property




Gets or sets the amount of time (in milliseconds) that the control will wait for a server response before throwing a timeout exception.
Syntax
'Declaration
 
<DefaultValueAttribute(5000)>
Public Property Timeout As Integer
'Usage
 
Dim instance As Sftp
Dim value As Integer
 
instance.Timeout = value
 
value = instance.Timeout
[DefaultValue(5000)]
public int Timeout {get; set;}
[DefaultValue(5000)]
public: __property int get_Timeout();
public: __property void set_Timeout( 
   int value
);
[DefaultValue(5000)]
public:
property int Timeout {
   int get();
   void set (    int value);
}
Exceptions
ExceptionDescription
System.InvalidOperationExceptionThrown if no connection exists.
Remarks
Gets or sets the amount of time (in milliseconds) that the control will wait for a server response before throwing a timeout exception. The value must be positive and greater than 0 and defaults to 5000.
See Also

Reference

Sftp Class
Sftp Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic