Table of Contents

Class PerformanceCounterTelemetry

Namespace
Microsoft.ApplicationInsights.DataContracts
Assembly
Microsoft.ApplicationInsights.dll
[Obsolete("Use MetricTelemetry instead.")]
public sealed class PerformanceCounterTelemetry : ITelemetry, ISupportProperties
Inheritance
PerformanceCounterTelemetry
Implements
Inherited Members
Extension Methods

Constructors

PerformanceCounterTelemetry()

public PerformanceCounterTelemetry()

PerformanceCounterTelemetry(string, string, string, double)

public PerformanceCounterTelemetry(string categoryName, string counterName, string instanceName, double value)

Parameters

categoryName string
counterName string
instanceName string
value double

Properties

CategoryName

public string CategoryName { get; set; }

Property Value

string

Context

public TelemetryContext Context { get; }

Property Value

TelemetryContext

CounterName

public string CounterName { get; set; }

Property Value

string

Extension

public IExtension Extension { get; set; }

Property Value

IExtension

InstanceName

public string InstanceName { get; set; }

Property Value

string

Properties

public IDictionary<string, string> Properties { get; }

Property Value

IDictionary<string, string>

Sequence

public string Sequence { get; set; }

Property Value

string

Timestamp

public DateTimeOffset Timestamp { get; set; }

Property Value

DateTimeOffset

Value

public double Value { get; set; }

Property Value

double

Methods

DeepClone()

public ITelemetry DeepClone()

Returns

ITelemetry

SerializeData(ISerializationWriter)

public void SerializeData(ISerializationWriter serializationWriter)

Parameters

serializationWriter ISerializationWriter