If you need this, consider another advanced validation structure, such as the Enterprise Library Health Validator.
If you want to do it yourself, I would suggest creating your own attribute that would be inherited from ValidationAttribute, like this (partially pseudo-code, I'm sure you get the idea)
public class ConfigurableValidationAttribute: ValidationAttribute { public override bool IsValid(object value) { string objectType = value.GetType().FullName; string objectName = GetMyObjectName(value);
source share