Remoting 设置架构

.NET Framework General Reference 

Remoting Settings Schema

Contains tags used to put custom settings in remoting application configuration files.

<configuration>
   <system.runtime.remoting>
      <application>
         <lifetime>
         <channels> (Instance)
            <channel> (Instance)
               <serverProviders> (Instance)
                  <provider> (Instance)
                  <formatter> (Instance)
               <clientProviders> (Instance)
                  <provider> (Instance)
                  <formatter> (Instance)
         <client>
            <wellknown> (Client Instance)
            <activated> (Client Instance)
         <service>
            <wellknown> (Service Instance)
            <activated> (Service Instance)
         <soapInterop>
            <interopXmlType>
            <interopXmlElement>
            <preLoad>
      <channels> (Template)
         <channel> (Template)
            <serverProviders> (Instance)
               <provider> (Instance)
               <formatter> (Instance)
            <clientProviders> (Instance)
               <provider> (Instance)
               <formatter> (Instance)
      <channelSinkProviders>
            <serverProviders> (Template)
               <provider> (Template)
               <formatter> (Template)
            <clientProviders> (Template)
               <provider> (Template)
               <formatter> (Template)
      <customErrors>
      <debug>

ElementDescription
<system.runtime.remoting>Contains information about remote objects and channels.
<application>Contains information about remote objects the application consumes and exposes.
<lifetime>Contains information about the lifetime of all client-activated objects serviced by this application.
<channels> (Instance)Contains channels that the application uses to communicate with remote objects.
<channel> (Instance)Configures the channel that the application uses to communicate with remote objects.
<serverProviders> (Instance)Contains providers for channel sinks that are to become part of the default server-side channel sink call chain for this channel template when the template is referenced elsewhere in the configuration file.
<provider> (Instance)Contains the channel sink provider for a channel sink that is to be inserted into the channel sink chain.
<formatter> (Instance)Contains the channel sink provider for a formatter sink that is to be inserted into the channel sink chain.
<clientProviders> (Instance)Contains providers for channel sinks that are to become part of the default client-side channel sink call chain for this channel template when the template is referenced elsewhere in the configuration file.
<client>Contains objects the application consumes.
<wellknown> (Client Instance)Contains information about server-activated (well-known) objects the application wants to consume.
<activated> (Client Instance)Contains information about client-activated objects the application wants to consume.
<service>Contains objects the application exposes to other application domains or contexts.
<wellknown> (Service Instance)Contains information about server-activated (well-known) objects the application wants to publish.
<activated> (Service Instance)Contains information about client-activated objects the application wants to publish.
<soapInterop>Contains type mappings used with SOAP.
<interopXmlType>Creates a bidirectional map between a common language runtime type and an XML type and XML namespace.
<interopXmlElement>Creates a bidirectional map between a common language runtime type and an XML element and XML namespace.
<preLoad>Specifies the type to load the mappings from classes that extend SoapAttribute.
<channels> (Template)Contains channel templates that the application uses to communicate with remote objects.
<channel> (Template)Contains the channel template that the application can specify and configure to communicate with or listen to requests for remote objects.
<channelSinkProviders>Contains templates for client and server channel sink providers. Any channel sink providers specified underneath this element can be referenced anywhere a channel sink provider might be registered.
<serverProviders> (Template)Contains channel sink templates that can be inserted into a server channel call chain.
<provider> (Template)Contains the channel sink provider template for a channel sink that is to be inserted into the server or client channel sink chain.
<formatter> (Template)Contains the channel sink provider for a formatter sink that is to be inserted into the client or server channel sink chain.
<clientProviders> (Template)Contains channel sink templates that can be inserted into a client channel call chain.
<debug>Specifies whether to load types in the configuration file when the application starts.
<customErrors>Indicates whether the server channels in this application domain return filtered or complete exception information to local or remote callers.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值