IMessageProvider Interface
Interface for implementation of message bus.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
<InheritedExportAttribute> _
Public Interface IMessageProvider _
Inherits ITeamFoundationService
[InheritedExportAttribute]
public interface IMessageProvider : ITeamFoundationService
[InheritedExportAttribute]
public interface class IMessageProvider : ITeamFoundationService
[<InheritedExportAttribute>]
type IMessageProvider =
interface
interface ITeamFoundationService
end
public interface IMessageProvider extends ITeamFoundationService
The IMessageProvider type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreatePublisher | Create a new publisher with the given name. | |
CreateSubscriber(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. | |
CreateSubscriber(TeamFoundationRequestContext, String, String) | Create a new named subscription for a given message bus. | |
DeletePublisher | Delete a given publisher if it exists. | |
DeleteSubscriber | ||
FixMessageQueueMappings | ||
Publish | Publish messages to a message bus. | |
ServiceEnd | ServiceEnd is called when the Host is being Shutdown and this service should free all resources it is holding onto. (Inherited from ITeamFoundationService.) | |
ServiceStart | ServiceStart 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.) | |
Subscribe | ||
Unsubscribe | Unsubscribe from the specified message bus |
Top
Remarks
Any implementor of the IMessageProvider interface needs to provide: - one-time, - in-order, - secure - sub-5 second - guaranteed delivery of messages.