Show / Hide Table of Contents

Class TelemetryClient<T>

A client for sending Phoenix telemetry.

Inheritance
object
TelemetryClient<T>
Implements
ITelemetryClient
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.BotBrain
Assembly: Phoenix.Plugin.BotBrain.Shared.dll
Syntax
public class TelemetryClient<T> : ITelemetryClient
Type Parameters
Name Description
T

A type reference to indicate the source module name.

Constructors

View Source

TelemetryClient()

Initializes a new instance of the TelemetryClient<T> class.

Declaration
public TelemetryClient()

Properties

View Source

Context

Gets or sets the default telemetry context including the module name.

Declaration
protected virtual DefaultTelemetryContext Context { get; set; }
Property Value
Type Description
DefaultTelemetryContext
View Source

ModuleName

Gets the context with module name provided.

Declaration
protected virtual string ModuleName { get; }
Property Value
Type Description
string

Methods

View Source

HandledException(Exception)

Sends a telemetry event for a handled exception.

Declaration
public virtual void HandledException(Exception e)
Parameters
Type Name Description
Exception e

The exception.

Implements

ITelemetryClient
  • View Source
In this article
Back to top Generated by DocFX