ModelValidatingEventArgs(ModelBindingExecutionContext, ModelValidationNode) Constructor

Definition

Initializes a new instance of the ModelValidatingEventArgs class.

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)

Parameters

modelBindingExecutionContext
ModelBindingExecutionContext

The execution context.

parentNode
ModelValidationNode

The parent model validation node.

Applies to