/// <summary>
        /// Implements <see cref="ITelemetrySink.AddOrUpdateContextProperty(string, string)"/>
        /// </summary>
        public void AddOrUpdateContextProperty(string property, string value)
        {
            if (!IsEnabled)
            {
                return;
            }

            try
            {
                _telemetry.AddOrUpdateContextProperty(property, value);
            }
#pragma warning disable CA1031 // Do not catch general exception types
            catch (Exception e)
            {
                ReportException(e);
            }
#pragma warning restore CA1031 // Do not catch general exception types
        }