The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
HttpRuntimeSection::ExecutionTimeout Property
.NET Framework (current version)
Gets or sets the allowed execution time for the request.
Assembly: System.Web (in System.Web.dll)
public: [ConfigurationPropertyAttribute("executionTimeout", DefaultValue = "00:01:50")] [TypeConverterAttribute((TimeSpanSecondsConverter^::typeid))] [TimeSpanValidatorAttribute(MinValueString = "00:00:00", MaxValueString = "10675199.02:48:05.4775807")] property TimeSpan ExecutionTimeout { TimeSpan get(); void set(TimeSpan value); }
Property Value
Type: System::TimeSpanA TimeSpan value that indicates the allowed execution time for the request.
| Exception | Condition |
|---|---|
| HttpException | The request execution time exceeded the limit set by the execution time-out. |
The ExecutionTimeout property indicates the maximum number of seconds a request is allowed to execute before being automatically shut down by ASP.NET. The default is 110 seconds. This time-out applies only if the debug attribute in the element is set to false.
If the time-out expires an exception is raised. You can record the related information in the Application folder of the Event Log. You do this by enabling the application health monitoring in the configuration element.
.NET Framework
Available since 2.0
Available since 2.0
Show: