TelemetryHistogramEvent<T>(TelemetryEvent, IHistogram<T>) Constructor
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.
Initializes a new instance of the TelemetryHistogramEvent<T> class.
public TelemetryHistogramEvent (Microsoft.VisualStudio.Telemetry.TelemetryEvent telemetryEvent, Microsoft.VisualStudio.Telemetry.Metrics.IHistogram<T> histogram);
new Microsoft.VisualStudio.Telemetry.Metrics.Events.TelemetryHistogramEvent<'T (requires 'T : struct)> : Microsoft.VisualStudio.Telemetry.TelemetryEvent * Microsoft.VisualStudio.Telemetry.Metrics.IHistogram<'T (requires 'T : struct)> -> Microsoft.VisualStudio.Telemetry.Metrics.Events.TelemetryHistogramEvent<'T (requires 'T : struct)>
Public Sub New (telemetryEvent As TelemetryEvent, histogram As IHistogram(Of T))
Parameters
- telemetryEvent
- TelemetryEvent
The event, with all additional custom properties already set.
- histogram
- IHistogram<T>
The histogram to track via the event.