ModelValidationResult Class
Provides a container for a validation result.
Inheritance Hierarchy
System.Object
System.Web.Http.Validation.ModelValidationResult
Namespace: System.Web.Http.Validation
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class ModelValidationResult
'Usage
Dim instance As ModelValidationResult
public class ModelValidationResult
public ref class ModelValidationResult
type ModelValidationResult = class end
public class ModelValidationResult
The ModelValidationResult type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ModelValidationResult | Initializes a new instance of the ModelValidationResult class. |
Top
Properties
Name | Description | |
---|---|---|
MemberName | Gets or sets the name of the member. | |
Message | Gets or sets the validation result message. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
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.