Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AsyncTimeoutAttribute Class
Collapse the table of content
Expand the table of content

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)]
public class AsyncTimeoutAttribute : ActionFilterAttribute

NameDescription
System_CAPS_pubmethodAsyncTimeoutAttribute(Int32)

Initializes a new instance of the AsyncTimeoutAttribute class.

NameDescription
System_CAPS_pubpropertyAllowMultiple

Gets or sets a value that indicates whether more than one instance of the filter attribute can be specified.(Inherited from FilterAttribute.)

System_CAPS_pubpropertyDuration

Gets the timeout duration, in milliseconds.

System_CAPS_pubpropertyOrder

Gets or sets the order in which the action filters are executed.(Inherited from FilterAttribute.)

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOnActionExecuted(ActionExecutedContext)

Called by the ASP.NET MVC framework after the action method executes.(Inherited from ActionFilterAttribute.)

System_CAPS_pubmethodOnActionExecuting(ActionExecutingContext)

Called by ASP.NET before the asynchronous action method executes.(Overrides ActionFilterAttribute.OnActionExecuting(ActionExecutingContext).)

System_CAPS_pubmethodOnResultExecuted(ResultExecutedContext)

Called by the ASP.NET MVC framework after the action result executes.(Inherited from ActionFilterAttribute.)

System_CAPS_pubmethodOnResultExecuting(ResultExecutingContext)

Called by the ASP.NET MVC framework before the action result executes.(Inherited from ActionFilterAttribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Return to top
Show:
© 2015 Microsoft