This documentation is archived and is not being maintained.

IChannelInfo Interface

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

For a list of all members of this type, see IChannelInfo Members.

[Visual Basic]
Public Interface IChannelInfo
[C#]
public interface IChannelInfo
[C++]
public __gc __interface IChannelInfo
[JScript]
public interface IChannelInfo

Remarks

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 appdomain where the object lives. This interface might also be used when building custom ObjRef classes.

When an existing object instance is marshaled to produce an 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 the ChannelData provided through the IChannelInfo interface can be examined and used by corresponding channels in that process or appdomain to create a transport message sink that manages the communication between the proxy and the server object.

Requirements

Namespace: System.Runtime.Remoting

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

IChannelInfo Members | System.Runtime.Remoting Namespace | ObjRef | AppDomain

Show: