📄 18.6.txt
字号:
Listing 18.6 Remoting Configuration File with a Sink Provider
<?xml version=”1.0” encoding=”utf-8” ?>
<configuration>
<system.runtime.remoting>
<channelSinkProviders>
<clientProviders>
<provider id=”logger”
type=”_12_LoggingSink.LoggingSinkProvider,
12_LoggingSink” />
</clientProviders>
</channelSinkProviders>
<application>
<client>
<wellknown url=”http://localhost:8088/Demo”
type=”_1_RemoteObject.RemoteObject, 1_RemoteObject” />
</client>
<channels>
<channel port=”0” ref=”http”>
<clientProviders>
<formatter ref=”soap” />
<provider ref=”logger” file=”c:/log.txt” />
</clientProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
</configuration>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -