NonActionAttribute Classe

Définition

Indique qu’une méthode de contrôleur n’est pas une méthode d’action.

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
Héritage
NonActionAttribute
Attributs

Constructeurs

NonActionAttribute()

Indique qu’une méthode de contrôleur n’est pas une méthode d’action.

S’applique à