ISubscriber 介面
訂閱者必須實作這個介面。 這個介面會提供這個事件的處理常式:。-提供發行的事件的方法。包含訂閱者易記名稱和優先權-的訂閱者-屬性訂閱者要被告知的一組 eventTypes。
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
<InheritedExportAttribute> _
Public Interface ISubscriber
[InheritedExportAttribute]
public interface ISubscriber
ISubscriber 型別會公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
![]() |
Name | 如需使用訂閱者的訊息的訂閱者的易記名稱 |
![]() |
Priority | 優先權這訂閱者呼叫 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
ProcessEvent | 呼叫的方法,並在已訂閱的型別清單中無效的發行事件 |
![]() |
SubscribedTypes | 這個訂閱者要被告知的一組型別。 |
回頁首