Download presentation
Presentation is loading. Please wait.
Published byJeffery Barrie Franklin Modified over 9 years ago
1
DEV319
2
https://www.flickr.com/photos/amagill/34762677
3
https://www.flickr.com/photos/jamiemc/3023427414
4
http://brdy.in/ProTFS2013
5
Notification Interception Reading Writing Server Object Model, Service Hooks Server Object Model Client Object Model, REST APIs New!
6
Reading Writing
9
// Get the latest changeset var tfs = new TfsTeamProjectCollection(uri, credentials); var vcs = tfs.GetService (); var cid = vcs.GetLatestChangesetId(); var changeset = vcs.GetChangeset(cid);
15
Notification Interception
20
if (notificationType == NotificationType.DecisionPoint) { try { if (notificationEventArgs is CheckinNotification) { var notification = notificationEventArgs as CheckinNotification; // make sure we have "Performance Improvement" in our checkin if (!notification.Comment.ToUpperInvariant().Contains("PERFORMANCE IMPROVEMENT")) { statusMessage = "Sorry, you can't check in without the words 'Performance Improvement'!"; return EventNotificationStatus.ActionDenied; } } } …
27
Reading Writing
30
https://www.flickr.com/photos/danielavladimirova/4140111216
32
https://www.flickr.com/photos/danielavladimirova/4139350397
34
Notification
37
https://www.flickr.com/photos/johanl/4585763335
41
Notification Interception Reading Writing Server Object Model, Service Hooks Server Object Model Client Object Model, REST APIs New!
45
Subscribe to our fortnightly newsletter http://aka.ms/technetnz http://aka.ms/msdnnz Free Virtual Hands-on Labs http://aka.ms/ch9nz Free Online Learning http://aka.ms/mva http://aka.ms/technetlabs Sessions on Demand
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.