ScriptTimeout Property
Collapse the table of content
Expand the table of content

HttpServerUtility.ScriptTimeout Property

Gets and sets the request time-out in seconds.

[Visual Basic]
Public Property ScriptTimeout As Integer
public int ScriptTimeout {get; set;}
public: __property int get_ScriptTimeout();
public: __property void set_ScriptTimeout(int);
public function get ScriptTimeout() : int;
public function set ScriptTimeout(int);

Property Value

The time-out setting for requests.


Exception Type Condition
HttpException The time-out period is a null reference (Nothing in Visual Basic) or otherwise could not be set.


The following example sets the request time-out period to 60 seconds.

[Visual Basic] 
Server.ScriptTimeout = 60

Server.ScriptTimeout = 60;

Server->ScriptTimeout = 60;

Server.ScriptTimeout = 60


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpServerUtility Class | HttpServerUtility Members | System.Web Namespace

© 2016 Microsoft