Export (0) Print
Expand All

ProcessModelSection.Timeout Property

Gets or sets a value indicating the number of minutes until ASP.NET launches a new worker process.

Namespace:  System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[TypeConverterAttribute(typeof(InfiniteTimeSpanConverter))]
[ConfigurationPropertyAttribute("timeout", DefaultValue = "10675199.02:48:05.4775807")]
public TimeSpan Timeout { get; set; }

Property Value

Type: System.TimeSpan
The TimeSpan defining the interval. The default is Infinite.

ASP.NET launches a new worker process to take the place of the current one.

The following code example shows how to use the Timeout property.



                // Get the current RequestQueueLimit property value.
                int requestQueueLimit =
                    processModelSection.RequestQueueLimit;

                // Set the RequestQueueLimit property to 10240.
                processModelSection.RequestQueueLimit = 10240;



.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft