PageViewTelemetry
Class
Definition
Telemetry type used to track page views.
public sealed class PageViewTelemetry : Microsoft.ApplicationInsights.Channel.ITelemetry, Microsoft.ApplicationInsights.DataContracts.ISupportProperties, Microsoft.ApplicationInsights.DataContracts.ISupportSampling
- Inheritance
-
PageViewTelemetry
- Implements
Remarks
You can send information about pages viewed by your application to Application Insights by passing an instance of the PageViewTelemetry class to the TrackPageView(PageViewTelemetry) method.
Constructors
| PageViewTelemetry() |
Initializes a new instance of the PageViewTelemetry class. |
| PageViewTelemetry(String) |
Initializes a new instance of the PageViewTelemetry class with the
specified |
Properties
| Context |
Gets the context associated with the current telemetry item. |
| Duration |
Gets or sets the page view duration. |
| Metrics |
Gets a dictionary of custom defined metrics. |
| Name |
Gets or sets the name of the metric. |
| Properties |
Gets a dictionary of application-defined property names and values providing additional information about this page view. |
| Sequence |
Gets or sets the value that defines absolute order of the telemetry item. |
| Timestamp |
Gets or sets date and time when event was recorded. |
| Url |
Gets or sets the page view Uri. |
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) |