Share via


ITelemetry Interface

Definition

The base telemetry type for application insights.

public interface ITelemetry
type ITelemetry = interface
Public Interface ITelemetry
Derived

Properties

Name Description
Context

Gets the context associated with this telemetry instance.

Extension

Gets or sets gets the extension used to extend this telemetry instance using new strongly typed object.

Sequence

Gets or sets the value that defines absolute order of the telemetry item.

Timestamp

Gets or sets date and time when telemetry was recorded.

Methods

Name Description
DeepClone()

Clones the telemetry object deeply, so that the original object and the clone share no state and can be modified independently.

Sanitize()

Sanitizes the properties of the telemetry item based on DP constraints.

SerializeData(ISerializationWriter)

Writes serialization info about the data class of the implementing type using the given ISerializationWriter.

Extension Methods

Name Description
GetEnvelopeName(ITelemetry)

Gets envelope name for ITelemetry object.

TrySetEnvelopeName(ITelemetry, String)

Sets envelope name for ITelemetry object.

Applies to