读书人

WCF技术黑幕 第6章(6)

发布时间: 2013-04-02 12:35:26 作者: rapoo

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) { }        ...    }}

读书人网 >软件开发

热点推荐