wellknownobjectmode.singlecall);
system.console.writeline("hit to exit");
system.console.readline();
}
}
}
名字空间是对象所需要的。请记住,如果得到system.runtime.remoting.channels.tcp名字空间不存在的信息,请检查是否象上面的代码那样添加了对system.runtime.remoting.dll的引用。
wellknownobjectmode.singlecall);
system.console.writeline("hit to exit");
system.console.readline();
}
}
}
名字空间是对象所需要的。请记住,如果得到system.runtime.remoting.channels.tcp名字空间不存在的信息,请检查是否象上面的代码那样添加了对system.runtime.remoting.dll的引用。