是RemotingServices.Marshal服务器激活还是客户端激活? [英] Is RemotingServices.Marshal server activation or client activation?

查看:201
本文介绍了是RemotingServices.Marshal服务器激活还是客户端激活?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定以下代码使用何种激活模式。通过MSDN阅读只会让我更加困惑。

EchoService echoService =
new EchoService() ;

ObjRef refEchoObj = RemotingServices.Marshal(echoService," EchoService" );

需要帮助。

BTW,有谁可以请列举远程处理(或通过远程处理访问对象)有多少种方式?
< hr size ="1"align ="left"width ="25%">虚拟化让我

解决方案

随意看看[1],[2] ]


[1] http://www.codeproject.com/KB/XML /remotingsimpleeng.aspx
[2] http://msdn.microsoft.com/ EN-US /库/ ms973864.aspx 搜索结果谢谢,结果Utkarsh

I am not sure what kind of activation mode the following code uses. Reading thru MSDN only confuses me more.

EchoService echoService = 
new EchoService(); ObjRef refEchoObj = RemotingServices.Marshal(echoService, "EchoService");

Need help.

BTW, can anyone please kindly enumerate how many ways there are to do remoting (or making objects accessible via remoting)?


Virtualization is holding me

解决方案

Feel free to look at [1], [2]


[1] http://www.codeproject.com/KB/XML/remotingsimpleeng.aspx
[2] http://msdn.microsoft.com/en-us/library/ms973864.aspx

Thanks,
Utkarsh


这篇关于是RemotingServices.Marshal服务器激活还是客户端激活?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆