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


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 IDisposable, ITeamFoundationEventService, ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
public sealed class TeamFoundationEventService : IDisposable, 
    ITeamFoundationEventService, ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
public ref class TeamFoundationEventService sealed : IDisposable, 
    ITeamFoundationEventService, ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))>]
type TeamFoundationEventService =  
    class 
        interface IDisposable 
        interface ITeamFoundationEventService 
        interface ITeamFoundationService 
    end
public final class TeamFoundationEventService implements IDisposable, ITeamFoundationEventService, ITeamFoundationService

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 the default hash function. (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