Share via


ExcludeFromDescriptionAttribute Klasse

Definition

Gibt an, dass dies Endpoint nicht in den generierten API-Metadaten enthalten sein soll.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class ExcludeFromDescriptionAttribute : Attribute, Microsoft.AspNetCore.Routing.IExcludeFromDescriptionMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type ExcludeFromDescriptionAttribute = class
    inherit Attribute
    interface IExcludeFromDescriptionMetadata
Public NotInheritable Class ExcludeFromDescriptionAttribute
Inherits Attribute
Implements IExcludeFromDescriptionMetadata
Vererbung
ExcludeFromDescriptionAttribute
Attribute
Implementiert

Konstruktoren

ExcludeFromDescriptionAttribute()

Gibt an, dass dies Endpoint nicht in den generierten API-Metadaten enthalten sein soll.

Eigenschaften

ExcludeFromDescription

Ruft einen Wert ab, der angibt, ob OpenAPI-Daten für diesen Endpunkt ausgeschlossen werden sollen. Wenn true, werden keine API-Metadaten ausgegeben.

Methoden

ToString()

Gibt an, dass dies Endpoint nicht in den generierten API-Metadaten enthalten sein soll.

Gilt für: