public void TrackEvent()

in src/Telemetry/Telemetry.cs [102:123]


        public void TrackEvent(TelemetryEventName eventName, IDictionary<TelemetryPropertyName, string> properties = null,
            IDictionary<TelemetryMeasureName, double> measurements = null)
        {
            try
            {
                if (!this._initialized || !this.Enabled)
                {
                    return;
                }
                this._logger.LogTrace($"Sending event {eventName}");

                //continue task in existing parallel thread
                this._trackEventTask = this._trackEventTask.ContinueWith(
                    x => this.TrackEventTask(eventName.ToString(), properties, measurements)
                );
            }
            catch (Exception ex)
            {
                // We don't want errors sending telemetry to break the app, so just log and move on
                this._logger.LogError($"Error sending event {eventName}. Message={ex.Message}");
            }
        }