BotTelemetryClient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A logging client for bot telemetry.
public class BotTelemetryClient : Microsoft.Bot.Builder.IBotPageViewTelemetryClient, Microsoft.Bot.Builder.IBotTelemetryClient
type BotTelemetryClient = class
interface IBotTelemetryClient
interface IBotPageViewTelemetryClient
Public Class BotTelemetryClient
Implements IBotPageViewTelemetryClient, IBotTelemetryClient
- Inheritance
-
BotTelemetryClient
- Implements
Constructors
BotTelemetryClient(TelemetryClient) |
Initializes a new instance of the BotTelemetryClient class. |
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 a dialog entry / as 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. |