ProcessModelSection.IdleTimeout Property
.NET Framework (current version)
Gets or sets a value indicating the period of inactivity after which ASP.NET automatically ends the worker process.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("idleTimeout", DefaultValue = "10675199.02:48:05.4775807")] [TypeConverterAttribute(typeof(InfiniteTimeSpanConverter))] public TimeSpan IdleTimeout { get; set; }
Property Value
Type: System.TimeSpanA TimeSpan value indicating the idle time. The default value is Infinite, which corresponds to MaxValue.
The worker process is restarted (bounced) when the IdleTimeout property value is reached. By default, only two conditions cause the process to bounce: the process exceeds the allowed memory limit, or the process exceeds the allowed number of requests that can be queued. You can add other conditions to the default ones. For example, you can use the IdleTimeout property to limit the time the worker process is idle.
The following code example shows how to access the IdleTimeout property.
.NET Framework
Available since 2.0
Available since 2.0
Show: