<PackageReference Include="Microsoft.ApplicationInsights" Version="3.1.2" />

Microsoft.ApplicationInsights.Extensibility.Implementation.OperationTelemetry

Base class for telemetry types representing duration in time.
namespace Microsoft.ApplicationInsights.Extensibility.Implementation { public abstract class OperationTelemetry : ITelemetry, ISupportProperties { public abstract string Id { get; set; } public abstract string Name { get; set; } public abstract bool? Success { get; set; } public abstract TimeSpan Duration { get; set; } public abstract IDictionary<string, string> Properties { get; } public abstract DateTimeOffset Timestamp { get; set; } public abstract TelemetryContext Context { get; } protected void Sanitize(); protected OperationTelemetry(); } }