Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

<channels> Element (Instance)

Contains channels that the application uses to communicate with remote objects. This element configures channel templates or declares new channels for use with the specified application.



Child Element

Element Description
<channel> Describes the channel that the application uses to communicate with remote objects. Occurs one or more times in the <channels> element.


Channels can be registered only in application configuration files.


The following configuration file declares the location of a remote type for a client application and uses the <channels> instance element to specify to the .NET Remoting system that it should locate an appropriate port from which to connect to the server object, and that it should use the default HttpChannel.

               type="RemoteType, RemoteAssembly"


Configuration Files: Application configuration file, machine configuration file (Machine.config)

See Also

Remoting Settings Schema | Sinks and Sink Chains

© 2015 Microsoft