blog community
Where to find the events Team Foundation server can fire?
Marcel de Vries, MVP Team System

Syndication

 Based on my previous post I got some questions regarding the events that Team System provides.

 

The main question is where did you obtain the list of events?

The list of events that Team System provides can be found by a combination of steps.

At first you can go to the following folder on your Team Foundation Server

C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services\v1.0\Transforms

This folder contains a set of event type definitions. Every Event that can be processed using the Team System eventing infrastructure needs to be defined in the system. The schemas that you find define the data that gets posted with the event. This is what I used to define the filter syntax in the previous post.

 

When you browse the folder you will find the following list of events (BETA3, not the refresh yet, did not have the time yet to upgrade)

 

  • AclChangedEvent.xsd
  • ArtifactChangedEvent.xsd
  • branchmovedevent.xsd
  • BuildCompletionEvent.xsd
  • BuildStatusChangeEvent.xsd
  • CommonStructureChangedEvent.xsd
  • DataChangedEvent.xsd
  • IdentityChangedEvent.xsd
  • IdentityCreatedEvent.xsd
  • IdentityDeletedEvent.xsd
  • MembershipChangedEvent.xsd
  • nodecreatedevent.xsd
  • nodepropertieschangedevent.xsd
  • noderenamedevent.xsd
  • nodesdeletedevent.xsd
  • projectcreatedevent.xsd
  • projectdeletedevent.xsd
  • projectrenamedevent.xsd
  • WorkItemChangedEvent.xsd

 

The interesting thing to see here is that one important event is missing. This is the CheckinEvent.

 

To get information on this event, you need to take a look into the tfsIntegration database. Here you find a table called tbl_eventType. Here you can find the event and the schema for the event can be found in the column event_ type_schema. This is the missing Xsd that defines all the fields I mentioned in my previous post.

 

I hope this demystifies how I got the information I used for my subscription tool.


Posted 16-11-2005 8:15 by marcelv

Comments

TrackBack wrote Extending Visual Studio Team System - Automatically send e-mail to user when assigning a work item
on 14-04-2006 5:59
After working with Visual Studio Team System at Southworks for some months, I noticed a common practice...
TrackBack wrote Extending Visual Studio Team System - Automatically send e-mail to user when assigning a work item
on 14-04-2006 6:39
After working with Visual Studio Team System at Southworks for some months, I noticed a common practice...
Chital wrote re: Where to find the events Team Foundation server can fire?
on 18-05-2007 12:29

This is really informative. Can you please tell that Can we customize all such events? i.e. Can I add my New Events to list of these events? How can I customize alerts on some perticular customize events?

I really need to know this.

Chital Panchal

s/w Eng.

Abhishek Joshi wrote re: Where to find the events Team Foundation server can fire?
on 12-08-2007 2:08

How can i invoke a out of box service after some event occure in TFS, like i want to invoke one window service that will deal with some other functianilty in my project after successfully completion of my build. how can achieve this fuctionality ?  how can i modify BuildStatusChangeEvent.

marcelv wrote re: Where to find the events Team Foundation server can fire?
on 12-08-2007 19:27

Well very simple. Make a Webservice that can recieve the TFS event and from that you just invoke the service you want. I don't know what you mean by "Changing" the BuildStatusChangeEvent. You can't change existing events, you can react on them by taking a subscription (Via OM or BisSubscribe.exe). From that point on, you can do what you want with the event.(Except canceling it)

Mariano Szklanny’s Blog » Blog Archive » Extending Visual Studio Team System - Automatically send e-mail to user when assigning a work item wrote Mariano Szklanny’s Blog » Blog Archive » Extending Visual Studio Team System - Automatically send e-mail to user when assigning a work item
on 19-06-2008 21:12

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Powered by Community Server (Commercial Edition), by Telligent Systems