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

Microsoft.ApplicationInsights.DataContracts.TelemetryContext

public sealed class TelemetryContext
Represents a context for sending telemetry to the Application Insights service. Learn more
public IDictionary<string, string> GlobalProperties { get; }

Gets a dictionary of application-defined property values which are global in scope. Future SDK versions could serialize this separately from the item level properties. Learn more

public LocationContext Location { get; }

Gets the object describing a location tracked by this TelemetryContext.

public OperationContext Operation { get; }

Gets the object describing a operation tracked by this TelemetryContext. Learn more

public UserContext User { get; }

Gets the object describing a user tracked by this TelemetryContext.

Initializes a new instance of the TelemetryContext class.