Export (0) Print
Expand All

AsyncTimeoutAttribute Class

Represents an attribute that is used to set the timeout value, in milliseconds, for an asynchronous method.

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

[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, Inherited = true, 
    AllowMultiple = false)>]
type AsyncTimeoutAttribute =  
    class 
        inherit ActionFilterAttribute 
    end

The AsyncTimeoutAttribute type exposes the following members.

  NameDescription
Public methodAsyncTimeoutAttributeInitializes a new instance of the AsyncTimeoutAttribute class.
Top

  NameDescription
Public propertyAllowMultipleGets or sets a value that indicates whether more than one instance of the filter attribute can be specified. (Inherited from FilterAttribute.)
Public propertyDurationGets the timeout duration, in milliseconds.
Public propertyOrderGets or sets the order in which the action filters are executed. (Inherited from FilterAttribute.)
Public propertyTypeId (Inherited from Attribute.)
Top

  NameDescription
Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnActionExecutedCalled by the ASP.NET MVC framework after the action method executes. (Inherited from ActionFilterAttribute.)
Public methodOnActionExecutingCalled by ASP.NET before the asynchronous action method executes. (Overrides ActionFilterAttribute.OnActionExecuting(ActionExecutingContext).)
Public methodOnResultExecutedCalled by the ASP.NET MVC framework after the action result executes. (Inherited from ActionFilterAttribute.)
Public methodOnResultExecutingCalled by the ASP.NET MVC framework before the action result executes. (Inherited from ActionFilterAttribute.)
Public methodToString (Inherited from Object.)
Top

The default timeout is 45000 (45 seconds).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft