Presentation is loading. Please wait.

Presentation is loading. Please wait.

DEV319. https://www.flickr.com/photos/amagill/34762677.

Similar presentations


Presentation on theme: "DEV319. https://www.flickr.com/photos/amagill/34762677."— Presentation transcript:

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

7

8

9 // Get the latest changeset var tfs = new TfsTeamProjectCollection(uri, credentials); var vcs = tfs.GetService (); var cid = vcs.GetLatestChangesetId(); var changeset = vcs.GetChangeset(cid);

10

11

12

13

14

15 Notification Interception

16

17

18

19

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; } } } …

21

22

23

24

25

26

27 Reading Writing

28

29

30 https://www.flickr.com/photos/danielavladimirova/4140111216

31

32 https://www.flickr.com/photos/danielavladimirova/4139350397

33

34 Notification

35

36

37 https://www.flickr.com/photos/johanl/4585763335

38

39

40

41 Notification Interception Reading Writing Server Object Model, Service Hooks Server Object Model Client Object Model, REST APIs New!

42

43

44

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

46

47


Download ppt "DEV319. https://www.flickr.com/photos/amagill/34762677."

Similar presentations


Ads by Google