UseWebApiActionConventionsAttribute Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Wskazuje akcje bez tras atrybutów w kontrolerze używają ASP.NET konwencji routingu internetowego interfejsu API.
public ref class UseWebApiActionConventionsAttribute : Attribute, Microsoft::AspNetCore::Mvc::WebApiCompatShim::IUseWebApiActionConventions
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class UseWebApiActionConventionsAttribute : Attribute, Microsoft.AspNetCore.Mvc.WebApiCompatShim.IUseWebApiActionConventions
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type UseWebApiActionConventionsAttribute = class
inherit Attribute
interface IUseWebApiActionConventions
Public Class UseWebApiActionConventionsAttribute
Inherits Attribute
Implements IUseWebApiActionConventions
- Dziedziczenie
-
UseWebApiActionConventionsAttribute
- Atrybuty
- Implementuje
Konstruktory
UseWebApiActionConventionsAttribute() |
Wskazuje akcje bez tras atrybutów w kontrolerze używają ASP.NET konwencji routingu internetowego interfejsu API. |
Dotyczy
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla