Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NoAsyncTimeoutAttribute Class

Provides a convenience wrapper for the AsyncTimeoutAttribute attribute.


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

[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, Inherited = true, 
	AllowMultiple = false)]
public sealed class NoAsyncTimeoutAttribute : AsyncTimeoutAttribute

The NoAsyncTimeoutAttribute type exposes the following members.

Public methodNoAsyncTimeoutAttributeInitializes a new instance of the NoAsyncTimeoutAttribute class.

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. (Inherited from AsyncTimeoutAttribute.)
Public propertyOrderGets or sets the order in which the action filters are executed. (Inherited from FilterAttribute.)
Public propertyTypeId (Inherited from Attribute.)

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. (Inherited from AsyncTimeoutAttribute.)
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.)

This attribute sets the timeout to infinite (never).

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