ValidationContext Class
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.
Context that records errors reported by validation rules.
public sealed class ValidationContext
type ValidationContext = class
Public NotInheritable Class ValidationContext
- Inheritance
-
ValidationContext
Properties
Model |
Gets the model being validated. |
Methods
AddError(EdmError) |
Register an error with the validation context. |
AddError(EdmLocation, EdmErrorCode, String) |
Register an error with the validation context. |
IsBad(IEdmElement) |
Method returns true if the |