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

Microsoft.ApplicationInsights.Extensibility.Implementation.RichPayloadEventSource

RichPayload Event Source (.Net 4.5 version) It dynamically checks the runtime version and only emits the event if the runtime is .Net Framework 4.6 and above. As .Net 4.5 project doesn't support EventDataAttribute, the class uses the anonymous type (RichPayloadEventSource.TelemetryHandler.cs) for the corresponding telemetry data type. The anonymous type keeps the same properties and layout as the telemetry data type schema. Once you update the data type, you should also update the anonymous type.
namespace Microsoft.ApplicationInsights.Extensibility.Implementation { internal sealed class RichPayloadEventSource : IDisposable { public sealed class Keywords { public const EventKeywords Requests = (EventKeywords)1; public const EventKeywords Traces = (EventKeywords)2; public const EventKeywords Events = (EventKeywords)4; public const EventKeywords Exceptions = (EventKeywords)8; public const EventKeywords Dependencies = (EventKeywords)16; public const EventKeywords Metrics = (EventKeywords)32; public const EventKeywords PageViews = (EventKeywords)64; public const EventKeywords PerformanceCounters = (EventKeywords)128; public const EventKeywords SessionState = (EventKeywords)256; public const EventKeywords Availability = (EventKeywords)512; public const EventKeywords Operations = (EventKeywords)1024; public const EventKeywords PageViewPerformance = (EventKeywords)2048; public Keywords(); } public static readonly RichPayloadEventSource Log; public RichPayloadEventSource(); public void Process(ITelemetry item); public void ProcessOperationStart(OperationTelemetry operation); public void ProcessOperationStop(OperationTelemetry operation); public void Dispose(); } }