TFS 2015 Update 3 - 服务器插件与服务挂钩 [英] TFS 2015 Update 3 - Server plugin vs service hooks

查看:87
本文介绍了TFS 2015 Update 3 - 服务器插件与服务挂钩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello

我们在TFS服务器上有一个实现"Isubscriber"的插件。接口并对诸如工作项创建,构建完成等事件作出反应。我们还有一个"停止"的订阅。使用"决策点"的签入
通知。我的问题是,使用TFS中新的"服务挂钩"功能,建议使用这个新的"服务挂钩"。或继续"插件"?如果我们决定转向"服务挂钩"在将来,服务挂钩
offer" Decision point"界面也停止办理登机手续?

We have a plugin on TFS server that implements the "Isubscriber" interface and react to events like work item created, build completed etc. We also have a subscription that will "stop" a checkin using a "Decision Point" notification. My question is, with the new "Service hooks' feature in TFS, is it advisable to use this new "service hook" or continue with "Plugins"? If we decide to move to "Service hooks" in the future, do service hook offer "Decision point" interface also to stop a check in?

问候

推荐答案

嗨Sri-vp,

Hi Sri-vp,

感谢您在此发帖。

服务挂钩并非完全等同于"服务插件"。

The service hook is not totally equal to the "Service Plugin".

例如,当您签入代码时,"服务插件"单击签入按钮时将触发。但是在签入完成后将触发Service挂钩。

For example, when you check in code, the "Service Plugin" will be triggers when you click the check-in button. But the Service hook will be triggered after the check in is finished.

>> 如果我们决定转到"服务挂钩",在将来,做服务钩子提供"决策点"界面也停止办理登机手续?

关于这个问题,服务挂钩不能这样做。因为它是在创建变更集时发生的。

So about this question, the service hook can't do that. Because it occurs when changeset is created.

最好的问候


这篇关于TFS 2015 Update 3 - 服务器插件与服务挂钩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆