Microsoft KB Archive/821617

= Information about the Timeout property and how to set this property by using the application configuration file =

Article ID: 821617

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft .NET Framework 2.0
 * Microsoft .NET Framework 1.1
 * Microsoft .NET Framework 1.0
 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Academic Edition

-





SUMMARY
This article describes the timeout property in Microsoft Visual Studio 2005 and in Microsoft Visual Studio .NET. You can set and configure the timeout property in the application configuration file.



MORE INFORMATION
The timeout property is the channel configuration property, and you can specify the timeout property for the current channel in the configuration file.

The value of the timeout property is an integer that specifies the period that is before the request should time out. To request no time-out period, set timeout to -1.

Setting the timeout property is a useful way to build an application by using the configuration file. Otherwise, you must create properties and set properties programmatically, and then you must pass values to the constructors.

The following example shows how you can set the timeout property in the application configuration file:

Note In the following example, the time-out period is set to 10,000.  ...                ...   

