This documentation is archived and is not being maintained.

<channelSinkProviders> Element

This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the  Windows Communication Foundation (WCF).

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. This element may occur in an application configuration file, machine configuration file.


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



Child Elements

Element Description


Contains channel sink templates that can be inserted into a server channel call chain. Can occur once in the <channelSinkProviders> element.


Contains channel sink templates that can be inserted into a client channel call chain. Can occur once in the <channelSinkProviders> element.

Parent Elements

Element Description


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


Contains information about remote objects and channels.

The following configuration file uses a <provider> instance element to assign to the HttpChannel the "propsetter" and a "null" channel sink provider that are declared with <provider> template elements. In addition, the "propsetter" channel sink provider is created with the custom provider properties specified as attributes on the provider instance element and as the child <endpoint> attribute name/value pairs.

               type="RemoteType, RemoteAssembly"
            <channel ref="http">
                  <formatter ref="soap"/>
                     <endpoint url="" someProperty="xyz" />
                     <endpoint url="" someProperty="123" />
                  <provider ref="null" writeToConsole="true" />
               type="ChannelSinkPropertySetterProvider, SinkAssembly" 
               type="NullSinkProvider, SinkAssembly" 
      <debug loadTypes="true" />