HttpServerUtility.ScriptTimeout Property
.NET Framework (current version)
Gets and sets the request time-out value in seconds.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| HttpException | The current HttpContext is null. |
| ArgumentOutOfRangeException | The time-out period is null or otherwise could not be set. |
The ScriptTimeout property can be set in the Web.config file by setting the executionTimeout attribute of the element. Setting the time-out programmatically with the ScriptTimeout property takes precedence over the Web.config setting.
Note |
|---|
If you set the debug attribute of the element to true in the Web.config file, the value of ScriptTimeout will be ignored. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
.jpeg?cs-save-lang=1&cs-lang=vb)