In this post, Jeff Handley descusses the purpose of ValidationContext, what types of context it can provide, and how it integrates with
RIA Services.
Source: Jeff Handley's Blog
Although ValidationContext exists within the System.ComponentModel.DataAnnotations assembly in both .NET 4.0+ and Silverlight 3+, the class was introduced by the RIA Services team. While designing the RIA Services validation system, we considered scenarios where validation logic is based on factors outside the validation method itself. This can range from the user’s settings to UI state to other records within the system. In addition to the object and property a validator is being executed against, validators much be able to reach back into the system to extract whatever data is needed.
We tweet all news and content updates - follow us on Twitter!