Partager via


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)

Syntax

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

Property Value

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

Remarks

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

Examples

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

See Also

Reference

AsyncManager Class

System.Web.Mvc.Async Namespace