Class OperationTelemetry
public abstract class OperationTelemetry : ITelemetry, ISupportMetrics, ISupportProperties
- Inheritance
-
OperationTelemetry
- Implements
-
- Derived
-
- Inherited Members
-
- Extension Methods
-
Constructors
OperationTelemetry()
protected OperationTelemetry()
Properties
Context
public abstract TelemetryContext Context { get; }
Property Value
- TelemetryContext
Duration
public abstract TimeSpan Duration { get; set; }
Property Value
- TimeSpan
Extension
public abstract IExtension Extension { get; set; }
Property Value
- IExtension
Id
public abstract string Id { get; set; }
Property Value
- string
Metrics
public abstract IDictionary<string, double> Metrics { get; }
Property Value
- IDictionary<string, double>
Name
public abstract string Name { get; set; }
Property Value
- string
Properties
public abstract IDictionary<string, string> Properties { get; }
Property Value
- IDictionary<string, string>
Sequence
public abstract string Sequence { get; set; }
Property Value
- string
StartTime
[Obsolete("Use Timestamp")]
public DateTimeOffset StartTime { get; set; }
Property Value
- DateTimeOffset
Success
public abstract bool? Success { get; set; }
Property Value
- bool?
Timestamp
public abstract DateTimeOffset Timestamp { get; set; }
Property Value
- DateTimeOffset
Methods
DeepClone()
public abstract ITelemetry DeepClone()
Returns
- ITelemetry
Sanitize()
protected void Sanitize()
SerializeData(ISerializationWriter)
public abstract void SerializeData(ISerializationWriter serializationWriter)
Parameters
serializationWriter
ISerializationWriter