Share via


AsyncTimeoutAttribute Class

Definition

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

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class AsyncTimeoutAttribute : System.Web.Mvc.ActionFilterAttribute
type AsyncTimeoutAttribute = class
    inherit ActionFilterAttribute
Public Class AsyncTimeoutAttribute
Inherits ActionFilterAttribute
Inheritance
Derived
Attributes

Constructors

AsyncTimeoutAttribute(Int32)

Initializes a new instance of the AsyncTimeoutAttribute class.

Properties

AllowMultiple

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

(Inherited from FilterAttribute)
Duration

Gets the timeout duration, in milliseconds.

Order

Gets or sets the order in which the action filters are executed.

(Inherited from FilterAttribute)

Methods

OnActionExecuted(ActionExecutedContext)

Called by the ASP.NET MVC framework after the action method executes.

(Inherited from ActionFilterAttribute)
OnActionExecuting(ActionExecutingContext)

Called by ASP.NET before the asynchronous action method executes.

OnResultExecuted(ResultExecutedContext)

Called by the ASP.NET MVC framework after the action result executes.

(Inherited from ActionFilterAttribute)
OnResultExecuting(ResultExecutingContext)

Called by the ASP.NET MVC framework before the action result executes.

(Inherited from ActionFilterAttribute)

Applies to