ActivityValidator questions

I've developed ActivityValidator for my custom activity. Everything seems OK, but 2 questions come to my head:
  1. When I'm adding new ValidationError to the collection why to overload with 2 strings - message and property name - the compiler puts a warning that this method is obsolete
  2. What does this parameter errorNumber represents



Answer this question

ActivityValidator questions

  • murali_k1

    Stefan,

    1. In an ActivityValidator class you can also override ValidateProperties method. If you do that and pass PropertyName parameter, PropertyBrowser will display an error tag in front of that property and a tool tip will show the message if you hover over.

    2. errorNumber is used to match error messages in resourse file.

    Thanks



  • ActivityValidator questions