Compartir a través de


AsyncTimeoutAttribute Constructor

Initializes a new instance of the AsyncTimeoutAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    duration As Integer _
)
public AsyncTimeoutAttribute(
    int duration
)
public:
AsyncTimeoutAttribute(
    int duration
)

Parameters

  • duration
    Type: System.Int32
    The timeout value, in milliseconds.

Remarks

The default timeout is 4500 (45 seconds).

See Also

Reference

AsyncTimeoutAttribute Class

System.Web.Mvc Namespace

NoAsyncTimeoutAttribute

Other Resources

Action Filtering in ASP.NET MVC Applications

Creating Custom Action Filters