Net+Remoting配置文件的用法.doc

NetRemoting配置文件的用法

Net Remoting配置文件的用法NET Remoting configuration files allow you to specify parameters for most aspects of the remoting framework. These files can define tasks as simple as registering a channel and specifying a Type as a server-activated object, or can be as complex as defining a whole chain of IMessageSinks with custom properties. 通过.Net Remoting配置文件可以为Remote Objects设定许多参数,如Channel、SAO服务端激活对象类型(Singleton/SingleCall)等等,方便以后在不用修改代码或重新编译的情况下,改变Remote Objects的行为。 1,如下是Server端典型的Remoting配置文件: ?xml version=1.0 encoding=utf-8 ? configuration system.runtime.remoting application channels

文档评论(0)

1亿VIP精品文档

相关文档