ProcessModelSection.Timeout Property

Definition

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

C#
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))]
[System.Configuration.ConfigurationProperty("timeout", DefaultValue="10675199.02:48:05.4775807")]
public TimeSpan Timeout { get; set; }

Property Value

The TimeSpan defining the interval. The default is Infinite.

Attributes

Examples

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

C#

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

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

Remarks

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

Applies to

Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1