Share via


<system.runtime.remoting> 元素

本主题介绍一项传统技术,保留该技术是为了向后兼容现有的应用程序,不建议对新的开发使用该技术。现在应该使用  Windows Communication Foundation (WCF) 来开发分布式应用程序。

包含有关远程对象和信道的信息。

Schema Hierarchy

<configuration>
  <system.runtime.remoting> 元素

语法

<system.runtime.remoting> 
   <application/> 
   <channels/> 
   <channelSinkProviders/> 
   <debug/> 
</system.runtime.remoting>

特性和元素

以下几节描述了特性、子元素和父元素。

特性

无。

子元素

元素 说明

<application>

包含有关应用程序使用和公开的远程对象的信息。可在 <system.runtime.remoting> 元素中出现一次。

<channels>

包含信道模板。可在 <system.runtime.remoting> 元素中出现一次。

<channelSinkProviders>

包含要插入到信道接收器链中的信道接收器的提供程序。可在 <system.runtime.remoting> 元素中出现一次。

<debug>

当应用程序启动时,需要 .NET Framework 远程处理系统加载所有类型,以便于捕获配置文件中的键入错误。可在 <system.runtime.remoting> 元素中出现一次。

父元素

元素 说明

configuration

公共语言运行时和 .NET Framework 应用程序所使用的每个配置文件中的根元素。

另请参见

参考

远程处理设置架构

概念

远程对象配置

生成日期:2010-02-13