<configuration>
<system.runtime.remoting>
<application>
<service>
<wellknown
type="ServerActivatedType, RemoteAssembly"
objectUri="ServerType.rem"
mode="Singleton"
/>
</service>
</application>
</system.runtime.remoting>
</configuration>
其中 type="ServerActivatedType, RemoteAssembly"
objectUri="ServerType.rem"
这两个属性赋值不是很清楚...希望大家指点....
<system.runtime.remoting>
<application>
<service>
<wellknown
type="ServerActivatedType, RemoteAssembly"
objectUri="ServerType.rem"
mode="Singleton"
/>
</service>
</application>
</system.runtime.remoting>
</configuration>
其中 type="ServerActivatedType, RemoteAssembly"
objectUri="ServerType.rem"
这两个属性赋值不是很清楚...希望大家指点....
//为使用 TCP 协议传输消息的服务器信道提供实现
TcpServerChannel channel=new TcpServerChannel(8080);//提供帮助进行远程处理信道注册、解析和 URL 发现的静态方法
ChannelServices.RegisterChannel(channel);//提供多种配置远程处理结构的静态方法
RemotingConfiguration.RegisterWellKnownServiceType(
typeof(RemotingTest.Remotable),
"RemotingTest.Remotable",
WellKnownObjectMode.SingleCall);将上述内容写入配置文件中,
type, objectUri 开如何赋值?????
objectUri="服务端装配件.rem"
mode="Singleton"