示例#1
0
        /*----< creates proxy with interface of remote instance >------*/

        public void createSendChannel(string address)
        {
            EndpointAddress baseAddress = new EndpointAddress(address);
            WSHttpBinding   binding     = new WSHttpBinding();

            factory = new ChannelFactory <IPluggableComm>(binding, address);
            channel = factory.CreateChannel();
        }