Delen via


TelemetryDetails Class

Definition

Details about the package to be included in UserAgent telemetry

public class TelemetryDetails
type TelemetryDetails = class
Public Class TelemetryDetails
Inheritance
TelemetryDetails

Constructors

TelemetryDetails(Assembly, String)

Initialize an instance of TelemetryDetails by extracting the name and version information from the Assembly associated with the assembly.

Properties

ApplicationId

The value of the applicationId used to initialize this TelemetryDetails instance.

Assembly

The package type represented by this TelemetryDetails instance.

Methods

Apply(HttpMessage)

Sets the package name and version portion of the UserAgent telemetry value for the context of the message Note: If IsTelemetryEnabled is false, this value is never used.

ToString()

The properly formatted UserAgent string based on this TelemetryDetails instance.

Applies to