IpcChannel Class
Assembly: System.Runtime.Remoting (in system.runtime.remoting.dll)
'Declaration Public Class IpcChannel Implements IChannelReceiver, IChannelSender, IChannel, ISecurableChannel 'Usage Dim instance As IpcChannel
public class IpcChannel implements IChannelReceiver, IChannelSender, IChannel, ISecurableChannel
public class IpcChannel implements IChannelReceiver, IChannelSender, IChannel, ISecurableChannel
Channels are used by the.NET Framework remoting infrastructure to transport remote calls. When a client calls a remote object, the call is serialized into a message that is sent by a client channel and received by a server channel. After the message is received, it is deserialized and processed. Any returned values are transmitted by the server channel and received by the client channel.
The IpcChannel class is a convenience class combining the functionality of the IpcClientChannel class and the IpcServerChannel class.
The following code example shows how to use a IpcChannel to set up a remoting server and its client. The example contains three parts:
-
A server
-
A client
-
A remote object used by the server and the client.
The following code example shows a server.
The following code example shows a client for this server.
The following code example shows the remote object used by the server and the client.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.