AsyncTimeoutAttribute.Duration Property

Gets the timeout duration, in milliseconds.

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

Syntax

'Declaration
Public Property Duration As Integer
    Get
    Private Set
public int Duration { get; private set; }
public:
property int Duration {
    int get ();
    private: void set (int value);
}

Property Value

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

Remarks

The default timeout is 4500 (45 seconds).

See Also

Reference

AsyncTimeoutAttribute Class

System.Web.Mvc Namespace