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

Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.DiagnosticsModule.PortalDiagnosticsQueueSender

A dummy queue sender to keep the data to be sent to the portal before the initialize method is called. This is due to the fact that initialize method cannot be called without the configuration and the event listener write event is triggered before the diagnosticTelemetryModule initialize method is triggered.
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.DiagnosticsModule { internal class PortalDiagnosticsQueueSender : IDiagnosticsSender { public IList<TraceEvent> EventData { get; } public bool IsDisabled { get; set; } public PortalDiagnosticsQueueSender(); public void Send(TraceEvent eventData); public void FlushQueue(IDiagnosticsSender sender); } }