ModelValidatingEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.