System.Runtime.Remoting.Channels.Http.HttpClientChannel Class

Implements a client channel for remote calls that uses the HTTP protocol to transmit messages.

See Also: HttpClientChannel Members

Syntax

[System.Reflection.DefaultMember("Item")]
public class HttpClientChannel : System.Runtime.Remoting.Channels.BaseChannelWithProperties, System.Runtime.Remoting.Channels.IChannelSender

Remarks

Channels transport messages across remoting boundaries (for example, between computers or application domains). The System.Runtime.Remoting.Channels.Http.HttpClientChannel class transports messages using the HTTP protocol.

Channels are used by the .NET Framework remoting infrastructure to transport remote calls. When a client makes a call to a remote object, the call is serialized into a message that is sent by a client channel and received by a server channel. It is then deserialized and processed. Any returned values are transmitted by the server channel and received by the client channel.

To perform additional processing of messages on the client-side, you can specify an implementation of the System.Runtime.Remoting.Channels.IClientChannelSinkProvider through which all messages processed by the System.Runtime.Remoting.Channels.Http.HttpClientChannel are passed.

By default, the System.Runtime.Remoting.Channels.Http.HttpServerChannel uses a SOAP formatter to serialize all messages.

A System.Runtime.Remoting.Channels.Http.HttpClientChannel object has associated configuration properties that can be set at run time either in a configuration file (by invoking the static System.Runtime.Remoting.RemotingConfiguration.Configure(string) method) or programmatically (by passing a IDictionary collection to the HttpClientChannel.#ctor constructor). For a list of these configuration properties, see Channel and Formatter Configuration Properties.

Requirements

Namespace: System.Runtime.Remoting.Channels.Http
Assembly: System.Runtime.Remoting (in System.Runtime.Remoting.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0