Team Foundation Server provides an event notification mechanism via SOAP or email delivery. My post below discusses a SOAP subscription that uses just a TCP socket listener and does not require a web service implementation. This is convenient for client applications such as test automation.

http://blogs.msdn.com/mrod/archive/2006/09/18/761174.aspx

 Vasu Sankaran