NonActionAttribute 類別

定義

表示控制器方法不是動作方法。

public ref class NonActionAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class NonActionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type NonActionAttribute = class
    inherit Attribute
Public NotInheritable Class NonActionAttribute
Inherits Attribute
繼承
NonActionAttribute
屬性

建構函式

NonActionAttribute()

表示控制器方法不是動作方法。

適用於