Share via


TelemetryCounterEvent<T> Class

Definition

The class represents a telemetry event for an IVSCounter that can be posted to a server. The non-VS (ICounter) type has no additional exposed properties beyond the IInstrument. So, no additional properties are needed for the ICounter event and it can be posted normally.

public class TelemetryCounterEvent<T> : Microsoft.VisualStudio.Telemetry.Metrics.Events.TelemetryMetricEvent where T : struct
type TelemetryCounterEvent<'T (requires 'T : struct)> = class
    inherit TelemetryMetricEvent
Public Class TelemetryCounterEvent(Of T)
Inherits TelemetryMetricEvent

Type Parameters

T
Inheritance
TelemetryCounterEvent<T>

Constructors

TelemetryCounterEvent<T>(TelemetryEvent, ICounter<T>)

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

Methods

ToString()

ToString to make debugging easier: show in debug watch window.

(Inherited from TelemetryMetricEvent)

Applies to