AsyncManager::Timeout Property

Gets or sets the asynchronous timeout value, in milliseconds.

Namespace:  System.Web.Mvc.Async
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public:
property int Timeout {
	int get ();
	void set (int value);
}

Property Value

Type: System::Int32
The asynchronous timeout value, in milliseconds.

The default timeout is 45 seconds. Use Infinite to specify that the asynchronous process does not time out.

A Visual Studio project with source code is available to accompany this topic: Download.

Show: