/// <summary>
        /// Create Asimov AI channel
        /// </summary>
        /// <param name="config"></param>
        /// <returns></returns>
        protected override ITelemetryChannel CreateAppInsightsChannel(TelemetryConfiguration config)
        {
            config.TelemetryChannel = null;
            string text = "Unknown";

            text = "No";
            if (isUtcEnabled)
            {
                bool num = UniversalTelemetryChannel.IsAvailable();
                text = (num ? "Yes" : "No");
                if (num)
                {
                    config.TelemetryChannel = new UniversalTelemetryChannel();
                    usedTransport           = Transport.Utc;
                }
            }
            if (config.TelemetryChannel == null)
            {
                PersistenceChannel persistenceChannel = new PersistenceChannel(storage, processLockFactory);
                persistenceChannel.Initialize(config);
                persistenceChannel.EndpointAddress = "https://vortex.data.microsoft.com/collect/v1";
                config.TelemetryChannel            = persistenceChannel;
                config.TelemetryInitializers.Add(new SequencePropertyInitializer());
                usedTransport = Transport.Vortex;
            }
            if (!hostTelemetrySession.IsSessionCloned)
            {
                hostTelemetrySession.PostProperty("VS.TelemetryApi.IsUtcInstalled", text);
            }
            return(config.TelemetryChannel);
        }
        /// <summary>
        /// Create default InProcess channel
        /// </summary>
        /// <param name="config"></param>
        /// <returns></returns>
        protected override ITelemetryChannel CreateAppInsightsChannel(TelemetryConfiguration config)
        {
            PersistenceChannel persistenceChannel = new PersistenceChannel(storage, processLockFactory);

            persistenceChannel.Initialize(config);
            config.TelemetryChannel = persistenceChannel;
            return(config.TelemetryChannel);
        }
        private void Action()
        {
            PersistenceChannel channel = new PersistenceChannel();

            channel.Dispose();
        }