IpcChannel Class

Note: This class is new in the .NET Framework version 2.0.

Provides a channel implementation that uses the IPC protocol to transmit messages.

Namespace: System.Runtime.Remoting.Channels.Ipc
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.

No code example is currently available or this language may not be supported.

The following code example shows a client for this server.

No code example is currently available or this language may not be supported.

The following code example shows the remote object used by the server and the client.

No code example is currently available or this language may not be supported.

System.Object
  System.Runtime.Remoting.Channels.Ipc.IpcChannel

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: