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()

适用于