Поделиться через


<serverProviders> Element (Template)

Contains channel sink templates that can be inserted into a server channel call chain.

<serverProviders> 
   <formatter> 
   <provider> 
</serverProviders>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element Description

formatter

Contains a formatter sink provider template. Can occur one or more times in the <serverProviders> template element.

provider

Contains a sink provider template. Can occur one or more times in the <serverProviders> template element.

Parent Elements

Element Description

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.

configuration

The root element in every configuration file used by the common language runtime and .NET Framework applications.

serverproviders

Contains channel sink templates that can be inserted into a server channel call chain.

system.runtime.remoting

Contains information about remote objects and channels.

Example

The following configuration file declares an Internet Protocol Security (IPSsec) formatter provider that can be used by an application.

<configuration>
   <system.runtime.remoting>
      <channelSinkProviders>
         <serverProviders>
            <formatter 
               id="IPSec"
               type = "Custom.IPSec, IPSecAssembly"
            />
         </serverProviders>
      </channelSinkProviders>
   </system.runtime.remoting>
</configuration>

See Also

Reference

Remoting Settings Schema

Concepts

Sinks and Sink Chains