System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels C# (CSharp) Method

ConfigureChannels() private static method

private static ConfigureChannels ( RemotingXmlConfigFileData configData, bool ensureSecurity ) : void
configData System.Runtime.Remoting.Activation.RemotingXmlConfigFileData
ensureSecurity bool
return void
        private static void ConfigureChannels(RemotingXmlConfigFileData configData, bool ensureSecurity)
        {
            // Register our x-context & x-AD channels first
            RemotingServices.RegisterWellKnownChannels();
            
            foreach (RemotingXmlConfigFileData.ChannelEntry entry in configData.ChannelEntries)
            {
                if (!entry.DelayLoad)
                {
                    IChannel chnl = CreateChannelFromConfigEntry(entry);
                    ChannelServices.RegisterChannel(chnl, ensureSecurity);
                }
                else
                    _delayLoadChannelConfigQueue.Enqueue(new DelayLoadClientChannelEntry(entry, ensureSecurity));
            }
        } //  ConfigureChannels