Megosztás a következőn keresztül:


TeamFoundationMessageBusService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationMessageBusService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationTracingService))> _
Public NotInheritable Class TeamFoundationMessageBusService _
    Implements IMessageProvider, ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationTracingService))]
public sealed class TeamFoundationMessageBusService : IMessageProvider, 
    ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationTracingService))]
public ref class TeamFoundationMessageBusService sealed : IMessageProvider, 
    ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationTracingService))>]
type TeamFoundationMessageBusService =  
    class 
        interface IMessageProvider 
        interface ITeamFoundationService 
    end
public final class TeamFoundationMessageBusService implements IMessageProvider, ITeamFoundationService

The TeamFoundationMessageBusService type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationMessageBusService

Top

Methods

  Name Description
Public method CreatePublisher Creates a publisher on the message bus.
Public method CreateSubscriber(TeamFoundationRequestContext, String) Adds the current service as a subscriber to the message bus.
Public method CreateSubscriber(TeamFoundationRequestContext, String, String) Adds the current service as a subscriber to the message bus.
Public method DeletePublisher Deletes a publisher on the message bus if exists.
Public method DeleteSubscriber Removes the current service as a subscriber from the message bus
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method FixMessageQueueMappings
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Publish Sends a set of serializable objects to the message bus.
Public method ServiceEnd ITeamFoundationService.ServiceEnd
Public method ServiceStart ITeamFoundationService.ServiceStart
Public method Subscribe
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Unsubscribe

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace