ChildActionOnlyAttribute ChildActionOnlyAttribute ChildActionOnlyAttribute Class

Definition

Represents an attribute that is used to indicate that an action method should be called only as a child action.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class ChildActionOnlyAttribute : System.Web.Mvc.FilterAttribute, System.Web.Mvc.IAuthorizationFilter
type ChildActionOnlyAttribute = class
    inherit FilterAttribute
    interface IAuthorizationFilter
Public NotInheritable Class ChildActionOnlyAttribute
Inherits FilterAttribute
Implements IAuthorizationFilter
Inheritance
ChildActionOnlyAttributeChildActionOnlyAttributeChildActionOnlyAttribute
Attributes
Implements

Constructors

ChildActionOnlyAttribute() ChildActionOnlyAttribute() ChildActionOnlyAttribute()

Initializes a new instance of the ChildActionOnlyAttribute class.

Methods

OnAuthorization(AuthorizationContext) OnAuthorization(AuthorizationContext) OnAuthorization(AuthorizationContext)

Called when authorization is required.

Properties

AllowMultiple AllowMultiple AllowMultiple

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

(Inherited from FilterAttribute)
Order Order Order

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

(Inherited from FilterAttribute)

Applies to