英語で読む

次の方法で共有


UseWebApiOverloadingAttribute クラス

定義

省略不可能なすべてのパラメーターが満たされている場合にのみ、コントローラーのアクションを選択する必要があることを示します。 OverloadActionConstraintコントローラー内のすべてのアクションに を適用します。

C#
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class UseWebApiOverloadingAttribute : Attribute, Microsoft.AspNetCore.Mvc.WebApiCompatShim.IUseWebApiOverloading
継承
UseWebApiOverloadingAttribute
属性
実装

コンストラクター

UseWebApiOverloadingAttribute()

省略不可能なすべてのパラメーターが満たされている場合にのみ、コントローラーのアクションを選択する必要があることを示します。 OverloadActionConstraintコントローラー内のすべてのアクションに を適用します。

適用対象

製品 バージョン
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2