<PackageReference Include="Microsoft.ApplicationInsights" Version="2.22.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.
public IList<TraceEvent> EventData { get; }

public bool IsDisabled { get; set; }

public void FlushQueue(IDiagnosticsSender sender)

public void Send(TraceEvent eventData)