PowerTCP Mail for .NET
ConnectTimeout Property




Gets or sets a value that specifies the amount of time (in milliseconds) after which a call to TcpBase.Connect will time out.
Syntax
<DefaultValueAttribute()>
Public Property ConnectTimeout As Integer
Dim instance As TcpSession
Dim value As Integer
 
instance.ConnectTimeout = value
 
value = instance.ConnectTimeout
[DefaultValue()]
public int ConnectTimeout {get; set;}
[DefaultValue()]
public: __property int get_ConnectTimeout();
public: __property void set_ConnectTimeout( 
   int value
);
[DefaultValue()]
public:
property int ConnectTimeout {
   int get();
   void set (    int value);
}

Property Value

The timeout value in milliseconds. The default value is -1, which defers to the system timeout.
Remarks
This property is used to cancel a connect request early; it does not override the system-level connect timeout.
See Also

Reference

TcpSession Class
TcpSession Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic