采用配置文件的方式RemotingConfiguration.Configure(remoting配置文件)的方式在服务器端启用,如何停用呢?没有找到相应的方法,是用:
IChannel[] channels = ChannelServices.RegisteredChannels;
                foreach (IChannel eachChannel in channels)
                {
                    
                        ChannelServices.UnregisterChannel(eachChannel);
                    
                }
逐个停用么?还是有另外的对应于RemotingConfiguration.Configure方法的逆过程的方法啊?