Classe TeamFoundationSqlNotificationService
Gerarchia di ereditarietà
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlNotificationService
Spazio dei nomi: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Sintassi
'Dichiarazione
<TeamFoundationServiceDependency(GetType(TeamFoundationTaskService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationHostManagementService))> _
Public NotInheritable Class TeamFoundationSqlNotificationService _
Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
public sealed class TeamFoundationSqlNotificationService : ITeamFoundationService
Il tipo TeamFoundationSqlNotificationService espone i seguenti membri.
Costruttori
Nome | Descrizione | |
---|---|---|
![]() |
TeamFoundationSqlNotificationService |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
Author | L'autore è definito come origine di modifica che ha generato la notifica.I Implementors possibile utilizzare la proprietà Author da questa classe quando si scrivono nella tabella di notifica.Se il chiamante si desidera filtrare gli eventi fuori che hanno avuto dal proprio che si scrive può essere eseguita mediante il parametro di filterByAuthor quando si registra per i callback di notifica. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Equals | Determina se l'oggetto specificato equivale all'oggetto corrente. (Ereditato da Object) |
![]() |
GetHashCode | Funge da funzione hash predefinita. (Ereditato da Object) |
![]() |
GetType | Ottiene l'oggetto Type dell'istanza corrente. (Ereditato da Object) |
![]() |
RegisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean) | RegisterNotification viene utilizzato per registrare un callback per eventClass in un database. |
![]() |
RegisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean) | RegisterNotification viene utilizzato per registrare un gestore per eventClass in un database. |
![]() |
RegisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean) | RegisterNotificationHeirarchy viene utilizzato per registrare un callback per eventClass in un database in ogni RequestContext dal requestContext fornito alla radice. |
![]() |
RegisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean) | RegisterNotificationHeirarchy viene utilizzato per registrare un callback per eventClass all'interno di un database su ciascuno di RequestContexts dal requestContext fornito alla radice. |
![]() |
SendNotification | Inviare una notifica di SQL nel sistema. |
![]() |
ToString | Restituisce una stringa che rappresenta l'oggetto corrente. (Ereditato da Object) |
![]() |
UnregisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean) | UnregisterNotification viene utilizzato per rimuovere un callback di notifica per un evento registrato in precedenza. |
![]() |
UnregisterNotification(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean) | UnregisterNotification viene utilizzato per rimuovere un gestore di notifica per un evento registrato in precedenza. |
![]() |
UnregisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean) | UnregisterNotification viene utilizzato per rimuovere un callback di notifica per un evento registrato in precedenza su ogni requestContext da quello fornito nella radice. |
![]() |
UnregisterNotificationHierarchy(TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean) | UnregisterNotification viene utilizzato per rimuovere un gestore di notifica per un evento registrato in precedenza su ciascuno di requestContexts da quello fornito nella radice. |
In alto
Implementazioni esplicite dell'interfaccia
Nome | Descrizione | |
---|---|---|
![]() ![]() |
ITeamFoundationService.ServiceEnd | |
![]() ![]() |
ITeamFoundationService.ServiceStart | Inizializzare lo SqlNotificationService |
In alto
Codice thread safe
Qualsiasi membro static (Shared in Visual Basic) pubblico di questo tipo è thread-safe. I membri di istanza non sono garantiti come thread-safe.