I have implemented continous build using TFS windows workflow. In this I have created a custom activity that will help me creating custom template of folders.
Is there any way that I can monitor the status of the build, that is if the build fails due to some exception I want to set a flag in database table that i created to failed.
I want to handle this in C# TFS API only.