IChannelInfo Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides custom channel information that is carried along with the ObjRef.
public interface class IChannelInfo
public interface IChannelInfo
[System.Runtime.InteropServices.ComVisible(true)]
public interface IChannelInfo
type IChannelInfo = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IChannelInfo = interface
Public Interface IChannelInfo
- Attributes
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 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.
Properties
ChannelData |
Gets or sets the channel data for each channel. |
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기