When working with notifications from TFS it is necessary to know which event to subscribe to. Unfortunately that list is not generally documented so here’s the list of events raised by TFS today:
|
Event |
|
AclChangedEvent |
|
BranchMovedEvent |
|
BuildCompletionEvent |
|
BuildStatusChangeEvent |
|
CheckinEvent |
|
CommonStructureChangedEvent |
|
DataChangedEvent |
|
IdentityCreatedEvent |
|
IdentityDeletedEvent |
|
MembershipChangedEvent |
|
NodeCreatedEvent |
|
NodePropertiesChangedEvent |
|
NodeRenamedEvent |
|
NodesDeletedEvent |
|
ProjectCreatedEvent |
|
ProjectDeletedEvent |
|
WorkItemChangedEvent |
Of the events in the list the most commonly used are CheckinEvent for check-in notifications and WorkItemChangedEvent for work item changes.
The following TFS web service can be invoked to get a list of the currently registered events:
http://localhost:8080/services/v1.0/Registration.asmx?op=GetRegistrationEntries
Among the details in the resulting XML we find XML schema definitions for some of the key event types.
In the same folder as BisSubscribe.exe (see the upcoming post for details on using BisSubscribe.exe) we also find XML Schema files for some of the key events. These files are useful when designing filters for the event notifications.
Finally, the list of events can be manually modified using the command-line tool TfsReg.exe.