ModelValidatedEventArgs(ModelBindingExecutionContext, ModelValidationNode) 构造函数

定义

初始化 ModelValidatedEventArgs 类的新实例。Initializes a new instance of the ModelValidatedEventArgs class.

public:
 ModelValidatedEventArgs(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext, System::Web::ModelBinding::ModelValidationNode ^ parentNode);
public ModelValidatedEventArgs (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, System.Web.ModelBinding.ModelValidationNode parentNode);
new System.Web.ModelBinding.ModelValidatedEventArgs : System.Web.ModelBinding.ModelBindingExecutionContext * System.Web.ModelBinding.ModelValidationNode -> System.Web.ModelBinding.ModelValidatedEventArgs

参数

modelBindingExecutionContext
ModelBindingExecutionContext

该执行上下文。The execution context.

parentNode
ModelValidationNode

父模型验证节点。The parent model validation node.

适用于