1. 首页
  2. 编程语言
  3. C#
  4. wcf流传输分块

wcf流传输分块

上传者: 2018-12-28 19:18:02上传 RAR文件 58.38KB 热度 27次
乐意与人交流学习。 ContractDescription contract = ContractDescription.GetContract(typeof(IMyServer)); EndpointAddress address = new EndpointAddress("net.tcp://localhost:8880/myserver"); NetTcpBinding binding = new NetTcpBinding(); binding.MaxReceivedMessageSize = 1024 * 1024 * 30; binding.ReceiveTimeout = TimeSpan.FromMinutes(5);
用户评论