0
我想訂閱CheckinEvent,出於某種原因,我的Notify方法沒有被調用。 這是我的合同 -無法訂閱CheckinEvent
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace TFSubscriber
{
[ServiceContract(Namespace = "http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/03")]
public interface IRollupService
{
[OperationContract(Action = "http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/03/Notify")]
[XmlSerializerFormat(Style = OperationFormatStyle.Document)]
void Notify(string eventXml, string tfsIdentityXml);
}
}
我的實現很簡單,爲空的方法。我在我的Notify方法中放置了一個斷點,它不被調用。
該如何訂閱CheckinEvent -
C:\Program Files\Microsoft Team Foundation Server2010\Tools>bissubscribe.exe /eventType CheckInEvent /address http://localhost:4556/Rollupservice.svc /collection http://localhost:8080/tfs/defaultcollection
我有我添加到源代碼控制已經是一個解決方案,而我籤一些文件,斷點沒有擊中。 我在做什麼錯?