Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我编写了一个捕获 WorkItemChangedEvent 的 TFS 插件,但我看不到如何获取此事件适用的集合?任何线索?我可以看到“DisplayUrl”,它告诉我 TPC 所在的主机,而不是 TPC 本身。
看起来你可以从处理程序中获取它:requestContext.ServiceHost.Name
public EventNotificationStatus ProcessEvent(TeamFoundationRequestContext requestContext