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

Microsoft.ApplicationInsights.DataContracts.PageViewTelemetry

Telemetry type used to track page views.
public TelemetryContext Context { get; }

Gets the context associated with the current telemetry item.

public TimeSpan Duration { get; set; }

Gets or sets the page view duration.

public IExtension Extension { get; set; }

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

public string Id { get; set; }

Gets or sets page view ID.

Gets item type for sampling evaluation.

public IDictionary<string, double> Metrics { get; }

Gets a dictionary of custom defined metrics. Learn more

public string Name { get; set; }

Gets or sets the name of the page.

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

Gets a dictionary of application-defined property names and values providing additional information about this page view. Learn more

public string Sequence { get; set; }

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

public DateTimeOffset Timestamp { get; set; }

Gets or sets date and time when event was recorded.

public Uri Url { get; set; }

Gets or sets the page view Uri.

Initializes a new instance of the PageViewTelemetry class.

public PageViewTelemetry(string pageName)

Initializes a new instance of the PageViewTelemetry class with the specified pageName.

Deeply clones a PageViewTelemetry object.

public void SerializeData(ISerializationWriter serializationWriter)