ClientBase<Iservice>和ChannelFactory两种方式都可以创建proxy: (1)ChannelFactory using (ChannelFactory<IService1> channelFactory = new ChannelFactory<IService1>("WSHttpBinding_IService1&q... Read More
posted @ 2009-11-29 21:54 包建强 Views(689) Comments(0) Diggs(0) Edit
public class client : ClientBase<IService1>, IService1 { } 基类要写在接口前面,不然编译就会报错。Compiler Error CS1722 Read More
posted @ 2009-11-29 18:26 包建强 Views(685) Comments(1) Diggs(0) Edit