NonControllerAttribute 類別

定義

表示預設控制器探索機制不會將此屬性套用至的類型和任何衍生類型視為控制器。

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
繼承
NonControllerAttribute
屬性

建構函式

NonControllerAttribute()

表示預設控制器探索機制不會將此屬性套用至的類型和任何衍生類型視為控制器。

適用於