WCF技术内幕 第6章(6)
6.6 创建自定义通道
创建基类型
//数据报接收会话通道using System.ServiceModel.Channels;namespace WCFChannelSample{ class DelegatorOutputSessionChannel<TShape> : DelegatorChannelBase<TShape>, IOutputSessionChannel where TShape : class, IOutputSessionChannel { internal DelegatorOutputSessionChannel(ChannelManagerBase channelManagerBase, TShape innerChannel, string source) : base(channelManagerBase, innerChannel, source) { } ... }}