private bool TransferTransportManagers()
        {
            TransportReplyChannel currentChannel = (TransportReplyChannel)base.GetCurrentChannel();

            if (currentChannel == null)
            {
                return(false);
            }
            return(currentChannel.TransferTransportManagers(this.transportManagerContainer));
        }
コード例 #2
0
        // used to decouple our channel and listener lifetimes
        bool TransferTransportManagers()
        {
            TransportReplyChannel singletonChannel = (TransportReplyChannel)base.GetCurrentChannel();

            if (singletonChannel == null)
            {
                return(false);
            }
            else
            {
                return(singletonChannel.TransferTransportManagers(transportManagerContainer));
            }
        }