PageViewTelemetry Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Telemetry type used to track page views.
public ref class PageViewTelemetry sealed : Microsoft::VisualStudio::ApplicationInsights::Channel::ITelemetry, Microsoft::VisualStudio::ApplicationInsights::DataContracts::ISupportProperties
public sealed class PageViewTelemetry : Microsoft.VisualStudio.ApplicationInsights.Channel.ITelemetry, Microsoft.VisualStudio.ApplicationInsights.DataContracts.ISupportProperties
type PageViewTelemetry = class
interface ITelemetry
interface ISupportProperties
Public NotInheritable Class PageViewTelemetry
Implements ISupportProperties, ITelemetry
- 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. |