关于remoting文件传递请教十一(3)
发表在C#图书答疑
2010-07-29
是否精华
是
否
版块置顶:
是
否
明日科技,满员春色,您好!
本次问题的关键如下:
在VisualC#开发技术大全,785页,39.3.5 简单Remoting运行测试中的图39.5中,
using System.Runtime.Remoting.Channels.Tcp;是有效的,正确的。
但是 向c#程序开发范例宝典807页,实例549,=19.2中无法增加
using System.Runtime.Remoting.Channels.Tcp;是无效的,错误的。
具体语句如下,找不出问题!
已经引入了using System.Runtime.Remoting.Channels,所以using System.Runtime.Remoting.Channels.Tcp;
应该没有问题才是,但是就不行!!!
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
//请注意:using System.Runtime.Remoting.Channels.不显示出Tcp等3个属性。
//using System.Runtime.Remoting.Channels.Tcp;//这一行通不过。不知道什么原因?
本次问题的关键如下:
在VisualC#开发技术大全,785页,39.3.5 简单Remoting运行测试中的图39.5中,
using System.Runtime.Remoting.Channels.Tcp;是有效的,正确的。
但是 向c#程序开发范例宝典807页,实例549,=19.2中无法增加
using System.Runtime.Remoting.Channels.Tcp;是无效的,错误的。
具体语句如下,找不出问题!
已经引入了using System.Runtime.Remoting.Channels,所以using System.Runtime.Remoting.Channels.Tcp;
应该没有问题才是,但是就不行!!!
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
//请注意:using System.Runtime.Remoting.Channels.不显示出Tcp等3个属性。
//using System.Runtime.Remoting.Channels.Tcp;//这一行通不过。不知道什么原因?