HostingEnvironmentSection.IdleTimeout Property
.NET Framework 3.0
Gets or sets the amount of time, in minutes, before unloading an inactive application.
Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
[TypeConverterAttribute(typeof(TimeSpanMinutesOrInfiniteConverter))] public: property TimeSpan IdleTimeout { TimeSpan get (); void set (TimeSpan value); }
/** @property */ public TimeSpan get_IdleTimeout () /** @property */ public void set_IdleTimeout (TimeSpan value)
public function get IdleTimeout () : TimeSpan public function set IdleTimeout (value : TimeSpan)
Not applicable.
Property Value
A TimeSpan that is the specified number of minutes before unloading an inactive application. The default is 20 minutes.The default value for the IdleTimeout property is 20 minutes, which is the same default as the Timeout property. This setting can be set at the machine or application level. If this setting is defined at any other level, it is ignored.
The following code example shows how to use the IdleTimeout property. This code example is part of a larger example provided for the HostingEnvironmentSection class.
Community Additions
ADD
Show: