Validates the specified object and its properties, throwing ValidationException if invalid.
public static void Validate(object value)