Dela via


NonControllerAttribute Class

Definition

Indicates that the type and any derived types that this attribute is applied to is not considered a controller by the default controller discovery mechanism.

public ref class NonControllerAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed class NonControllerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type NonControllerAttribute = class
    inherit Attribute
Public NotInheritable Class NonControllerAttribute
Inherits Attribute
Inheritance
NonControllerAttribute
Attributes

Constructors

NonControllerAttribute()

Applies to