Share via


NullBotTelemetryClient Class

Definition

A null bot telemtry client that implements 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
Inheritance
NullBotTelemetryClient
Implements

Constructors

NullBotTelemetryClient()

Properties

Instance

Gets a new instance of NullBotTelemetryClient.

Methods

Flush()

Flushes the in-memory buffer and any metrics being pre-aggregated.

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

Send information about availability of an application.

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

Send information about an external dependency (outgoing call) in the application.

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

Logs custom events with extensible named fields.

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

Logs a system exception.

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

Logs an Application Insights page view.

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

Send a trace message.

Extension Methods

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

Log a DialogView using the TrackPageView method on the IBotTelemetryClient if IBotPageViewTelemetryClient has been implemented. Alternatively log the information out via TrackTrace.

Applies to