ISubscriber Interface
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.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'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.
Properties
Name | Description | |
---|---|---|
Name | Friendly name of the Subscriber used in messages about the subscriber | |
Priority | Priority this subscriber is called on |
Top
Methods
Name | Description | |
---|---|---|
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. |
Top