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
Public property Name Friendly name of the Subscriber used in messages about the subscriber
Public property Priority Priority this subscriber is called on

Top

Methods

Name Description
Public method ProcessEvent Method called when the an event is published that falls in the subscribed type list
Public method SubscribedTypes Set of types this subscriber wants to be notified of.

Top

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace