Freigeben über


UseWebApiOverloadingAttribute Klasse

Definition

Gibt an, dass Aktionen in einem Controller nur ausgewählt werden sollen, wenn alle nicht optionalen Parameter erfüllt sind. Wendet die OverloadActionConstraint auf alle Aktionen im Controller an.

public ref class UseWebApiOverloadingAttribute : Attribute, Microsoft::AspNetCore::Mvc::WebApiCompatShim::IUseWebApiOverloading
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class UseWebApiOverloadingAttribute : Attribute, Microsoft.AspNetCore.Mvc.WebApiCompatShim.IUseWebApiOverloading
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type UseWebApiOverloadingAttribute = class
    inherit Attribute
    interface IUseWebApiOverloading
Public Class UseWebApiOverloadingAttribute
Inherits Attribute
Implements IUseWebApiOverloading
Vererbung
UseWebApiOverloadingAttribute
Attribute
Implementiert

Konstruktoren

UseWebApiOverloadingAttribute()

Gibt an, dass Aktionen in einem Controller nur ausgewählt werden sollen, wenn alle nicht optionalen Parameter erfüllt sind. Wendet die OverloadActionConstraint auf alle Aktionen im Controller an.

Gilt für: