blog community

Welcome to blog community Sign in | Join | Help
in Search

Marcel de Vries, MVP Team System

.NET Technologies, Architecture and Web Development

Where to find the events Team Foundation server can fire?

 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.

Published Wednesday, November 16, 2005 8:15 AM by marcelv

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

TrackBack said:

After working with Visual Studio Team System at Southworks for some months, I noticed a common practice...
April 14, 2006 5:59 AM
 

TrackBack said:

After working with Visual Studio Team System at Southworks for some months, I noticed a common practice...
April 14, 2006 6:39 AM
 

Chital said:

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.

May 18, 2007 12:29 PM
 

Abhishek Joshi said:

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.

August 12, 2007 2:08 AM
 

marcelv said:

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)

August 12, 2007 7:27 PM
 

Mariano Szklanny’s Blog » Blog Archive » Extending Visual Studio Team System - Automatically send e-mail to user when assigning a work item said:

June 19, 2008 9:12 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server, by Telligent Systems