TraceTelemetry
Class
Definition
Telemetry type used for log messages. Contains a time and message and optionally some additional metadata.
public sealed class TraceTelemetry : Microsoft.ApplicationInsights.Channel.ITelemetry, Microsoft.ApplicationInsights.DataContracts.ISupportProperties, Microsoft.ApplicationInsights.DataContracts.ISupportSampling
- Inheritance
-
TraceTelemetry
- Implements
Constructors
| TraceTelemetry() |
Initializes a new instance of the TraceTelemetry class. |
| TraceTelemetry(String) |
Initializes a new instance of the TraceTelemetry class. |
| TraceTelemetry(String, SeverityLevel) |
Initializes a new instance of the TraceTelemetry class. |
Properties
| Context |
Gets the context associated with the current telemetry item. |
| Message |
Gets or sets the message text. For example, the text that would normally be written to a log file line. |
| Properties |
Gets a dictionary of application-defined property names and values providing additional information about this trace. |
| Sequence |
Gets or sets the value that defines absolute order of the telemetry item. |
| SeverityLevel |
Gets or sets Trace severity level. |
| Timestamp |
Gets or sets date and time when event was recorded. |
Explicit Interface Implementations
| ITelemetry.Sanitize() |
Sanitizes the properties based on constraints. |
| ISupportSampling.SamplingPercentage |
Gets or sets data sampling percentage (between 0 and 100). |
Extension Methods
| IsDefined(Object) | |
| IsNull(Object) | |
| IsPrimitive(Object) |