ModelValidatingEventArgs 构造函数

定义

初始化 ModelValidatingEventArgs 类的新实例。

public:
 ModelValidatingEventArgs(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext, System::Web::ModelBinding::ModelValidationNode ^ parentNode);
public ModelValidatingEventArgs (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, System.Web.ModelBinding.ModelValidationNode parentNode);
new System.Web.ModelBinding.ModelValidatingEventArgs : System.Web.ModelBinding.ModelBindingExecutionContext * System.Web.ModelBinding.ModelValidationNode -> System.Web.ModelBinding.ModelValidatingEventArgs
Public Sub New (modelBindingExecutionContext As ModelBindingExecutionContext, parentNode As ModelValidationNode)

参数

modelBindingExecutionContext
ModelBindingExecutionContext

该执行上下文。

parentNode
ModelValidationNode

父模型验证节点。

适用于