Hi, I´m developing a TFS 2012 web access custom control and I need to check some fields when workitem is saving. If breaks the rules, we shouldinterrupt the "saving" of current workitem and all the fields hold the new values.
I’ve just implete the same feature for Visual Studio through throwing a "ValidationException" but I don't know how to achieve the same at web access control.
public void Throw()
{
throw new ValidationException(_errorMessage.ToString());
}
Anyone could help me?