Sdílet prostřednictvím


NullBotTelemetryClient Třída

Definice

Telemtry klient robota s hodnotou null, který implementuje 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
Dědičnost
NullBotTelemetryClient
Implementuje

Konstruktory

NullBotTelemetryClient()

Telemtry klient robota s hodnotou null, který implementuje IBotTelemetryClient.

Vlastnosti

Instance

Získá novou instanci NullBotTelemetryClient.

Metody

Flush()

Vyprázdní vyrovnávací paměť a všechny předem agregované metriky.

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

Odesílat informace o dostupnosti aplikace.

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

Odesílat informace o externí závislosti (odchozí volání) v aplikaci.

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

Protokoluje vlastní události s rozšiřitelnými pojmenovanými poli.

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

Zaznamená výjimku systému.

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

Zaznamená zobrazení stránky Application Insights.

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

Odeslat trasovací zprávu.

Metody rozšíření

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

Protokolujte DialogView pomocí metody TrackPageView na IBotTelemetryClient, pokud byl implementován IBotPageViewTelemetryClient. Případně odhlaste informace přes TrackTrace.

Platí pro