AsyncManager.Timeout Property

Visual Studio 2010

Gets or sets the asynchronous timeout value, in milliseconds.

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

public int Timeout { get; set; }

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.

Community Additions

ADD
Show: