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)

[ConfigurationPropertyAttribute("timeout", DefaultValue = "10675199.02:48:05.4775807")]
[TypeConverterAttribute(typeof(InfiniteTimeSpanConverter))]
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.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft