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인 경우

적용 대상