如何:在配置文件中创建一个信道模板
下面的示例说明如何在配置文件中创建一个信道模板。
示例
<configuration>
<system.runtime.remoting>
<application>
</application>
<channels>
<channel
id="MyChannel"
type="MyChannel,MyChannelAssembly"
>
<clientProviders>
<formatter ref="soap">
</formatter>
<provider
type="Channels.AuthenticationSink,MyChannels"
/>
</clientProviders>
</channel>
</channels>
</system.runtime.remoting>
</configuration>
请参见
参考
System.Runtime.Remoting.RemotingConfiguration Class
概念
其他资源
使用配置文件注册远程对象
.NET Framework 远程处理概述
.NET Framework 远程处理概述
版权所有 (C) 2007 Microsoft Corporation。保留所有权利。