ModelBindingExecutionContext(HttpContextBase, ModelStateDictionary) コンストラクター

定義

HTTP コンテキストとモデルの状態を使用して、 ModelBindingExecutionContext クラスの新しいインスタンスを初期化します。

public:
 ModelBindingExecutionContext(System::Web::HttpContextBase ^ httpContext, System::Web::ModelBinding::ModelStateDictionary ^ modelState);
public ModelBindingExecutionContext(System.Web.HttpContextBase httpContext, System.Web.ModelBinding.ModelStateDictionary modelState);
new System.Web.ModelBinding.ModelBindingExecutionContext : System.Web.HttpContextBase * System.Web.ModelBinding.ModelStateDictionary -> System.Web.ModelBinding.ModelBindingExecutionContext
Public Sub New (httpContext As HttpContextBase, modelState As ModelStateDictionary)

パラメーター

httpContext
HttpContextBase

HTTP コンテキスト。

modelState
ModelStateDictionary

モデルの状態。

例外

httpContextまたはmodelStateパラメーターがnull

適用対象