System.Web.Configuration.HostingEnvironmentSection.ShutdownTimeout Property

Gets or sets the amount of time, in seconds, to gracefully shut down the application.

Syntax

[System.Configuration.ConfigurationProperty("shutdownTimeout", DefaultValue="00:00:30")]
[System.Configuration.TimeSpanValidator(MinValueString="00:00:00", MaxValueString="10675199.02:48:05.4775807")]
[System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanSecondsConverter))]
public TimeSpan ShutdownTimeout { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The default value for the HostingEnvironmentSection.ShutdownTimeout property is 30 seconds. This setting can be set at the machine or application level. If this setting is defined at any other configuration level, it is ignored. If a debugger is attached to the application, the application will not be shut down.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0