System.Runtime.Remoting.Channels.Http.HttpServerChannel Class

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

See Also: HttpServerChannel Members

Syntax

[System.Reflection.DefaultMember("Item")]
public class HttpServerChannel : System.Runtime.Remoting.Channels.BaseChannelWithProperties, System.Runtime.Remoting.Channels.IChannelReceiver, System.Runtime.Remoting.Channels.IChannelReceiverHook

Remarks

Channels transport messages across remoting boundaries (for example, between computers on application domains). The System.Runtime.Remoting.Channels.Http.HttpServerChannel 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 server-side, you can specify an implementation of the System.Runtime.Remoting.Channels.IServerChannelSinkProvider through which all messages processed by the System.Runtime.Remoting.Channels.Http.HttpServerChannel are passed.

The System.Runtime.Remoting.Channels.Http.HttpServerChannel accepts messages serialized in either binary or SOAP format.

A System.Runtime.Remoting.Channels.Http.HttpServerChannel 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 HttpServerChannel.#ctor constructor). For a list of these configuration properties, see the documentation for HttpServerChannel.#ctor.

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