TeamFoundationEventService Class

Inheritance Hierarchy

System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationEventService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationTaskService))> _
Public NotInheritable Class TeamFoundationEventService _
    Implements ITeamFoundationService, IDisposable
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
public sealed class TeamFoundationEventService : ITeamFoundationService, 
    IDisposable
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
public ref class TeamFoundationEventService sealed : ITeamFoundationService, 
    IDisposable
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))>]
type TeamFoundationEventService =  
    class 
        interface ITeamFoundationService 
        interface IDisposable 
    end
public final class TeamFoundationEventService implements ITeamFoundationService, IDisposable

The TeamFoundationEventService type exposes the following members.

Methods

Name Description
Public method AsyncPublishNotification Publishes an asynchronous event using a system request context: Note that this will wake up *ANY* hosts that may have been dormant.
Public method Dispose
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method PublishDecisionPoint Publishes a synchronous event using the specified request context.
Public method PublishNotification Publishes an asynchronous event using a system request context.
Public method Subscribe Subscribe to the specified event(s).
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Unsubscribe Unsubscribe from the specified events.

Top

Explicit Interface Implementations

Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd ServiceEnd is called when the service host is shutting down.
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart ServiceStart is called when the event manager is first requested from the service host it is being run in.

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