ChildActionOnlyAttribute クラス

定義

アクション メソッドを子アクションとしてのみ呼び出す場合に使用する属性を表します。

[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
継承
ChildActionOnlyAttribute
属性
実装

コンストラクター

ChildActionOnlyAttribute()

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

プロパティ

AllowMultiple

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

(継承元 FilterAttribute)
Order

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

(継承元 FilterAttribute)

メソッド

OnAuthorization(AuthorizationContext)

承認が必要なときに呼び出されます。

適用対象