Remoting 信道“tcp”已注册

由于未指定名称而导致!

例如:

  

 1             Hashtable ht = new Hashtable();
 2             ht["port"] = "8088";
 3 
 4             ht["name"] = "Test1";
 5 
 6             BinaryServerFormatterSinkProvider serverProv = new BinaryServerFormatterSinkProvider();
 7             serverProv.TypeFilterLevel = System.Runtime.Serialization.Formatters.TypeFilterLevel.Full;
 8             BinaryClientFormatterSinkProvider clientProv = new BinaryClientFormatterSinkProvider();
 9 
10             TcpChannel serverChannel = new TcpChannel(ht, clientProv, serverProv);

 

你可能感兴趣的:(Remoting 信道“tcp”已注册)