AcceptVerbsAttribute コンストラクター

定義

オーバーロード

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 動詞。

適用対象