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