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

Microsoft.ApplicationInsights.Extensibility.Implementation.OperationTelemetry

Base class for telemetry types representing duration in time.
public abstract TelemetryContext Context { get; }

Gets the object that contains contextual information about the application at the time when it handled the request.

public abstract TimeSpan Duration { get; set; }

Gets or sets the duration of the operation.

public abstract string Id { get; set; }

Gets or sets Operation ID.

public abstract string Name { get; set; }

Gets or sets the name of the operation.

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

Gets the custom properties collection.

public abstract bool? Success { get; set; }

Gets or sets whether operation has finished successfully.

public abstract DateTimeOffset Timestamp { get; set; }

Gets or sets the timestamp for the operation.

protected OperationTelemetry()

protected void Sanitize()

Allow to call OperationTelemetry.Sanitize method from child classes.