IChannelInfo Interface

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

NameDescription
System_CAPS_pubpropertyChannelData

Gets and sets the channel data for each channel.

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
Available since 1.1
Return to top
Show:
© 2016 Microsoft