IChannelInfo Interface

Provides custom channel information that is carried along with the ObjRef.

Namespace:  System.Runtime.Remoting
Assembly:  mscorlib (in mscorlib.dll)

[ComVisibleAttribute(true)]
public interface IChannelInfo

The IChannelInfo type exposes the following members.

  NameDescription
Public propertyChannelDataGets and sets the channel data for each channel.
Top

This interface is implemented by the ObjRef.ChannelInfo property. It provides access to transport specific information contributed by the channels that are able to receive calls in the process or application domain where the object lives. This interface might also be used when building custom ObjRef classes.

When an existing object instance is marshaled to produce a ObjRef, the ChannelData is copied from the channel (see IChannelReceiver) for each registered channel and stored in the ObjRef. When the ObjRef is unmarshaled at its destination, the ChannelData provided through the IChannelInfo interface can be examined and used by corresponding channels in that process or application domain to create a transport message sink that manages the communication between the proxy and the server object.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft