Maybe you create an instance of a client-activated type like this:
============================From MSDN 2003 Aprilobject[] url = {new UrlAttribute("http://hostcomputer:port/RemoteObjectApplicationName")};// Note that the second parameter (null) specifies that no arguments
// are being passed.RemoteObjectClass MyRemoteClass = (RemoteObjectClass)Activator.CreateInstance(
typeof(RemoteObjectClass),
null,
url
);
============================From MSDN 2003 Aprilobject[] url = {new UrlAttribute("http://hostcomputer:port/RemoteObjectApplicationName")};// Note that the second parameter (null) specifies that no arguments
// are being passed.RemoteObjectClass MyRemoteClass = (RemoteObjectClass)Activator.CreateInstance(
typeof(RemoteObjectClass),
null,
url
);
还在看。qimini(循序渐进) 的方法我再试试