This documentation is archived and is not being maintained.

IMessageProvider Interface

Interface for implementation of message bus.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

[InheritedExportAttribute]
public interface class IMessageProvider : ITeamFoundationService

The IMessageProvider type exposes the following members.

  NameDescription
Public methodCreatePublisherCreate a new publisher with the given name.
Public methodCreateSubscriber(TeamFoundationRequestContext, String)Create a new subscription for a given message bus. The name of the subscription will be allocated by the message bus and returned.
Public methodCreateSubscriber(TeamFoundationRequestContext, String, String)Create a new named subscription for a given message bus.
Public methodDeletePublisherDelete a given publisher if it exists.
Public methodDeleteSubscriber
Public methodFixMessageQueueMappings
Public methodPublishPublish messages to a message bus.
Public methodServiceEndServiceEnd is called when the Host is being Shutdown and this service should free all resources it is holding onto. (Inherited from ITeamFoundationService.)
Public methodServiceStartServiceStart is called when the service is initialized. If the service is intialized asynchronously it must implement Service_Ready which is used to determine when the service is ready for users to access it. (Inherited from ITeamFoundationService.)
Public methodSubscribe
Public methodUnsubscribeUnsubscribe from the specified message bus
Top

Any implementor of the IMessageProvider interface needs to provide: - one-time, - in-order, - secure - sub-5 second - guaranteed delivery of messages.

Show: