Subscribers must implement this interface. This interface provides the eventing manager with: - A method to deliver a published event to a subscriber - A property that contains the friendly name and priority of the subscriber - The set of eventTypes the subscriber wants to be notified on.
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
'Declaration <InheritedExportAttribute> _ Public Interface ISubscriber
[InheritedExportAttribute] public interface ISubscriber
[InheritedExportAttribute] public interface class ISubscriber
[<InheritedExportAttribute>] type ISubscriber = interface end
public interface ISubscriber
The ISubscriber type exposes the following members.
|Name||Friendly name of the Subscriber used in messages about the subscriber|
|Priority||Priority this subscriber is called on|
|ProcessEvent||Method called when the an event is published that falls in the subscribed type list|
|SubscribedTypes||Set of types this subscriber wants to be notified of.|