Delen via


TeamFoundationNotificationService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.TeamFoundationNotificationService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationSecurityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationIdentityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationJobService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLocationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationSigningService))> _
Public NotInheritable Class TeamFoundationNotificationService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSecurityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationJobService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSigningService))]
public sealed class TeamFoundationNotificationService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSecurityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationJobService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSigningService))]
public ref class TeamFoundationNotificationService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSecurityService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationIdentityService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationJobService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSigningService))>]
type TeamFoundationNotificationService =  
    class 
        interface ITeamFoundationService 
    end
public final class TeamFoundationNotificationService implements ITeamFoundationService

The TeamFoundationNotificationService type exposes the following members.

Methods

  Name Description
Public method AddEventTypes AddEventTypes is used to publis new event types for a given tool.
Public method ConfirmPreferredEmailAddress Confirms an email address is valid for sending notifications. In the hosted environment, non-default email addresses must be verified before notifications may be sent to the address.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodStatic member EvaluateCondition
Public method FireEvent Fires a single event. This event will the be delivered to all subscriptions that have signed up.
Public method FireEvents Fires a collection of events. These events will the be delivered to all subscriptions that have signed up.
Public method FireSystemEvent FireSystemEvent is used by the server to fire events on behalf of user actions that have taken place. This is unlike FireEvent which is an event triggered by a user call.
Public method GetEventSubscriptions(TeamFoundationRequestContext, IdentityDescriptor) GetEventSubscriptions is used to retrieve a set of subscriptions for a specific user or all users.
Public method GetEventSubscriptions(TeamFoundationRequestContext, IdentityDescriptor, String) GetEventSubscriptions is used to retrieve a set of subscriptions for a specific user or all users. This overload also allows the caller to supply a classification filter.
Public method GetEventTypes GetEventTypes is used to retrieve the set of events registered on the server.
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 SendPreferredEmailAddressConfirmation Sends an email to confirm a preferred email address is valid. This will queue the mail to be sent and schedule a job to send the email. The caller should set the identity's property for the preferred email address.
Public method SubscribeEvent(TeamFoundationRequestContext, IdentityDescriptor, String, String, DeliveryPreference, String) SubscribeEvent is used to create a new event subscription to events that are fired on the server. subscriptions can have a number of filters that enable to user to only recieve specific events.
Public method SubscribeEvent(TeamFoundationRequestContext, IdentityDescriptor, String, String, DeliveryPreference, String, Boolean)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnsubscribeEvent UnsubscribeEvent is used to remove an existing event subscription.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart

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.Server.Core Namespace