|
目錄:
ErrorHandler & ServiceThrottle
ChannelInitializer
IncludeExceptionDetailInFaults
ManualAddressing
MaxPendingReceives
ReceiveSynchronously
IsTransactedReceive & MaxTransactedBatchSize
TransactionIsolationLevel & TransactionTimeout
信道分發(fā)器對(duì)應(yīng)的類(lèi)型為ChannelDispatcher,下面的代碼片斷給出了ChannelDispatcher部分屬性成員的定義。而這些屬性代表了包含在信道分發(fā)器中那些可供擴(kuò)展的組件。信道分發(fā)器是基于信道監(jiān)聽(tīng)器創(chuàng)建的,后者用于請(qǐng)求消息的監(jiān)聽(tīng)和消息接收信道棧的創(chuàng)建。信道監(jiān)聽(tīng)器對(duì)應(yīng)于只讀屬性Listener。
public class ChannelDispatcher : ChannelDispatcherBase{
//其他成員
public SynchronizedCollection<IChannelInitializer> ChannelInitializers { get; }
public Collection<IErrorHandler> ErrorHandlers { get; }
public ServiceThrottle ServiceThrottle { get; set; }
publicoverride IChannelListener Listener { get; }
}
NET技術(shù):WCF服務(wù)端運(yùn)行時(shí)架構(gòu)體系詳解[中篇],轉(zhuǎn)載需保留來(lái)源!
鄭重聲明:本文版權(quán)歸原作者所有,轉(zhuǎn)載文章僅為傳播更多信息之目的,如作者信息標(biāo)記有誤,請(qǐng)第一時(shí)間聯(lián)系我們修改或刪除,多謝。