TelemetryNotificationService Classe

Definição

O serviço de notificação de telemetria permite que os assinantes sejam notificados quando o evento de telemetria correspondente a uma regra especificada é Postado

public ref class TelemetryNotificationService : Microsoft::VisualStudio::Telemetry::ISetTelemetrySession, Microsoft::VisualStudio::Telemetry::Notification::ITelemetryNotificationService
public class TelemetryNotificationService : Microsoft.VisualStudio.Telemetry.ISetTelemetrySession, Microsoft.VisualStudio.Telemetry.Notification.ITelemetryNotificationService
type TelemetryNotificationService = class
    interface ITelemetryNotificationService
    interface ISetTelemetrySession
Public Class TelemetryNotificationService
Implements ISetTelemetrySession, ITelemetryNotificationService
Herança
TelemetryNotificationService
Implementações

Comentários

Usando uma implementação simples de bloqueio de mutual-exclusion e int as ID porque os consumos assíncronos pesados desse serviço não são esperados no momento.

Propriedades

Default

Obtém a instância singleton padrão do serviço de notificações de telemetria.

Métodos

SetSession(TelemetrySession)

definir a sessão a ser usada

Subscribe(ITelemetryEventMatch, Action<TelemetryEvent>, Boolean)

Assina para ser notificado quando um evento de telemetria correspondente ao filtro especificado for Postado.

Unsubscribe(Int32)

Cancela a assinatura do serviço de notificação.

Aplica-se a