SoapTcpTransportOptions.IdleTimeout Property

Gets or sets the time to idle out a connection.

Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim soapTcpTransportOptions1 As SoapTcpTransportOptions

Dim returnValue As Integer
returnValue = soapTcpTransportOptions1.IdleTimeout

Dim sampleValue As Integer
soapTcpTransportOptions1.IdleTimeout = sampleValue

Syntax

'Declaration
Public Property IdleTimeout() As Integer
public int IdleTimeout {get; set;}
public:
property int IdleTimeout {
    int get();
    void set(int value);
}
public int get_IdleTimeout();
public void set_IdleTimeout(int);
public function get IdleTimeout() : int;
public function set IdleTimeout(int);

Property Value

The time, in milliseconds, to idle out a connection. The default value is 120000.

Exceptions

Exception type Condition
ArgumentOutOfRangeException

IdleTimeout is set to less than 30000 milliseconds.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SoapTcpTransportOptions Class
SoapTcpTransportOptions Members
Microsoft.Web.Services3.Messaging Namespace