Share via


OverrideAuthorizationAttribute 类

定义

表示与授权相关的特性。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class OverrideAuthorizationAttribute : System.Web.Mvc.FilterAttribute, System.Web.Mvc.Filters.IOverrideFilter
type OverrideAuthorizationAttribute = class
    inherit FilterAttribute
    interface IOverrideFilter
Public NotInheritable Class OverrideAuthorizationAttribute
Inherits FilterAttribute
Implements IOverrideFilter
继承
OverrideAuthorizationAttribute
属性
实现

构造函数

OverrideAuthorizationAttribute()

初始化 OverrideAuthorizationAttribute 类的新实例。

属性

AllowMultiple

获取或设置一个值,该值指示是否可指定筛选器特性的多个实例。

(继承自 FilterAttribute)
FiltersToOverride

获取要为此实例重写的筛选器。

Order

获取或者设置执行操作筛选器的顺序。

(继承自 FilterAttribute)

适用于