ActionFilterAttribute クラス

定義

フィルター属性の基本クラスを表します。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public abstract class ActionFilterAttribute : System.Web.Mvc.FilterAttribute, System.Web.Mvc.IActionFilter, System.Web.Mvc.IResultFilter
type ActionFilterAttribute = class
    inherit FilterAttribute
    interface IActionFilter
    interface IResultFilter
Public MustInherit Class ActionFilterAttribute
Inherits FilterAttribute
Implements IActionFilter, IResultFilter
継承
ActionFilterAttribute
派生
属性
実装

コンストラクター

ActionFilterAttribute()

ActionFilterAttribute クラスの新しいインスタンスを初期化します。

プロパティ

AllowMultiple

フィルター属性の複数のインスタンスを指定できるかどうかを示す値を取得または設定します。

(継承元 FilterAttribute)
Order

アクション フィルターの実行順序を取得または設定します。

(継承元 FilterAttribute)

メソッド

OnActionExecuted(ActionExecutedContext)

アクション メソッドの実行後に ASP.NET MVC フレームワークによって呼び出されます。

OnActionExecuting(ActionExecutingContext)

アクション メソッドの実行前に ASP.NET MVC フレームワークによって呼び出されます。

OnResultExecuted(ResultExecutedContext)

アクション結果の実行後に ASP.NET MVC フレームワークによって呼び出されます。

OnResultExecuting(ResultExecutingContext)

アクション結果の実行前に ASP.NET MVC フレームワークによって呼び出されます。

適用対象