HttpRuntimeSection.ExecutionTimeout Property

Gets or sets the allowed execution time for the request.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

property TimeSpan ExecutionTimeout {
	TimeSpan get ();
	void set (TimeSpan value);
/** @property */
public TimeSpan get_ExecutionTimeout ()

/** @property */
public void set_ExecutionTimeout (TimeSpan value)

public function get ExecutionTimeout () : TimeSpan

public function set ExecutionTimeout (value : TimeSpan)

Not applicable.

Property Value

A TimeSpan value that indicates the allowed execution time for the request.

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 90 seconds.

The following example shows how to use the ExecutionTimeout property.

No code example is currently available or this language may not be supported.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions