AcceptVerbsAttribute コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
AcceptVerbsAttribute(String[]) |
アクション メソッドが応答する AcceptVerbsAttribute HTTP 動詞の一覧を使用して、 クラスの新しいインスタンスを初期化します。 |
AcceptVerbsAttribute(HttpVerbs) |
アクション メソッドが応答する HTTP 動詞を AcceptVerbsAttribute 使用して、 クラスの新しいインスタンスを初期化します。 |
AcceptVerbsAttribute(String[])
アクション メソッドが応答する AcceptVerbsAttribute HTTP 動詞の一覧を使用して、 クラスの新しいインスタンスを初期化します。
public AcceptVerbsAttribute (params string[] verbs);
new System.Web.Mvc.AcceptVerbsAttribute : string[] -> System.Web.Mvc.AcceptVerbsAttribute
Public Sub New (ParamArray verbs As String())
パラメーター
- verbs
- String[]
アクション メソッドが応答する対象の HTTP 動詞。
例外
パラメーターの verbs
長さが null またはゼロです。
適用対象
AcceptVerbsAttribute(HttpVerbs)
アクション メソッドが応答する HTTP 動詞を AcceptVerbsAttribute 使用して、 クラスの新しいインスタンスを初期化します。
public AcceptVerbsAttribute (System.Web.Mvc.HttpVerbs verbs);
new System.Web.Mvc.AcceptVerbsAttribute : System.Web.Mvc.HttpVerbs -> System.Web.Mvc.AcceptVerbsAttribute
Public Sub New (verbs As HttpVerbs)
パラメーター
- verbs
- HttpVerbs
アクション メソッドが応答する対象の HTTP 動詞。