Reputation: 4797
I wrote a small app which attempts to subscribe to various events, but can't find a really good explanation or list of all the different event types. Does anyone know what they are? For example, so far I have these:
var eventService = this.projectCollection.GetService(typeof(IEventService)) as IEventService;
this.subscriptions.Add(eventService.SubscribeEvent("WorkItemChangedEvent", "", delPref));
this.subscriptions.Add(eventService.SubscribeEvent("BuildCompletionEvent", "", delPref));
Any help much appreciated.
Upvotes: 2
Views: 992
Reputation: 478
can i use all the listed event types to be used in a custom tfs plugin using the ISubscriber interface ? in particular the ProjectCreatedEvent
Upvotes: 1
Reputation: 7551
BuildCompletionEvent
belong to the Microsoft.TeamFoundation.Build.Server Namespace. In there you'll find all the classes - search for 'Event'.
You can do similar searches for WorkItemChangedEvent
and other classes of events.
Upvotes: 0
Reputation: 3075
Not sure if there is an official overview of the event, but checking "tbl_EventType" in the collection database listed the following events:
Upvotes: 6