Export (0) Print
Expand All

IChannelInfo Interface

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

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

'Declaration
<ComVisibleAttribute(True)> _
Public Interface IChannelInfo
'Usage
Dim instance As IChannelInfo

/** @attribute ComVisibleAttribute(true) */ 
public interface IChannelInfo
ComVisibleAttribute(true) 
public interface IChannelInfo

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.

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, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft