ModelValidatingEventArgs Class
Provides data for the ModelValidationNode.Validating event.
Namespace: Microsoft.Web.Mvc.ModelBinding
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
System.EventArgs
System.ComponentModel.CancelEventArgs
Microsoft.Web.Mvc.ModelBinding.ModelValidatingEventArgs
Syntax
public sealed class ModelValidatingEventArgs : CancelEventArgs
public ref class ModelValidatingEventArgs sealed : CancelEventArgs
[<Sealed>]
type ModelValidatingEventArgs =
class
inherit CancelEventArgs
end
Public NotInheritable Class ModelValidatingEventArgs
Inherits CancelEventArgs
Constructors
Name | Description | |
---|---|---|
ModelValidatingEventArgs(ControllerContext, ModelValidationNode) | Initializes a new instance of the ModelValidatingEventArgs class. |
Properties
Name | Description | |
---|---|---|
Cancel | (Inherited from CancelEventArgs.) |
|
ControllerContext | Gets or sets the controller context. |
|
ParentNode | Gets the parent model validation node. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Web.Mvc.ModelBinding Namespace
Return to top