Share via


EndpointGroupNameAttribute 類別

定義

在 中 Metadata 指定端點組名。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public sealed class EndpointGroupNameAttribute : Attribute, Microsoft.AspNetCore.Routing.IEndpointGroupNameMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type EndpointGroupNameAttribute = class
    inherit Attribute
    interface IEndpointGroupNameMetadata
Public NotInheritable Class EndpointGroupNameAttribute
Inherits Attribute
Implements IEndpointGroupNameMetadata
繼承
EndpointGroupNameAttribute
屬性
實作

建構函式

EndpointGroupNameAttribute(String)

初始化 EndpointGroupNameAttribute 的執行個體。

屬性

EndpointGroupName

取得端點組名。

適用於