Język

NullBotTelemetryClient Klasa

Definicja

Klient telemetrii bota null implementującego IBotTelemetryClient.

public class NullBotTelemetryClient : Microsoft.Bot.Builder.IBotPageViewTelemetryClient, Microsoft.Bot.Builder.IBotTelemetryClient
type NullBotTelemetryClient = class
    interface IBotTelemetryClient
    interface IBotPageViewTelemetryClient
Public Class NullBotTelemetryClient
Implements IBotPageViewTelemetryClient, IBotTelemetryClient
Dziedziczenie
NullBotTelemetryClient
Implementuje

Konstruktory

Nazwa Opis
NullBotTelemetryClient()

Klient telemetrii bota null implementującego IBotTelemetryClient.

Właściwości

Nazwa Opis
Instance

Otrzymuje nową instancję NullBotTelemetryClient.

Metody

Nazwa Opis
Flush()

Usuwa bufor w pamięci oraz wszelkie metryki wstępnie agregowane.

TrackAvailability(String, DateTimeOffset, TimeSpan, String, Boolean, String, IDictionary<String,String>, IDictionary<String,Double>)

Prześlij informacje o dostępności aplikacji.

TrackDependency(String, String, String, String, DateTimeOffset, TimeSpan, String, Boolean)

Wyślij informacje o zewnętrznej zależności (wypowiedzi wychodzącej) w aplikacji.

TrackEvent(String, IDictionary<String,String>, IDictionary<String,Double>)

Loguje niestandardowe zdarzenia z rozszerzalnymi polami nazwanymi.

TrackException(Exception, IDictionary<String,String>, IDictionary<String,Double>)

Loguje wyjątek systemowy.

TrackPageView(String, IDictionary<String,String>, IDictionary<String,Double>)

Loguje widok strony Application Insights.

TrackTrace(String, Severity, IDictionary<String,String>)

Wyślij wiadomość o śledzeniu.

Metody rozszerzania

Nazwa Opis
TrackDialogView(IBotTelemetryClient, String, IDictionary<String,String>, IDictionary<String,Double>)

Zaloguj DialogView za pomocą metody TrackPageView na kliencie IBotTelemetryClient, jeśli IBotPageViewTelemetryClient został zaimplementowany. Alternatywnie wyloguj informacje przez TrackTrace.

Dotyczy