ConnectionOrientedTransportBindingElement 類別

定義

使用連線導向傳輸 (例如 TCP 和具名管道) 常用的額外屬性,補充基底 TransportBindingElement 的抽象類別。

public ref class ConnectionOrientedTransportBindingElement abstract : System::ServiceModel::Channels::TransportBindingElement
public ref class ConnectionOrientedTransportBindingElement abstract : System::ServiceModel::Channels::TransportBindingElement, System::ServiceModel::Description::IPolicyExportExtension, System::ServiceModel::Description::IWsdlExportExtension
public abstract class ConnectionOrientedTransportBindingElement : System.ServiceModel.Channels.TransportBindingElement
public abstract class ConnectionOrientedTransportBindingElement : System.ServiceModel.Channels.TransportBindingElement, System.ServiceModel.Description.IPolicyExportExtension, System.ServiceModel.Description.IWsdlExportExtension
type ConnectionOrientedTransportBindingElement = class
    inherit TransportBindingElement
type ConnectionOrientedTransportBindingElement = class
    inherit TransportBindingElement
    interface IWsdlExportExtension
    interface IPolicyExportExtension
type ConnectionOrientedTransportBindingElement = class
    inherit TransportBindingElement
    interface IPolicyExportExtension
    interface IWsdlExportExtension
Public MustInherit Class ConnectionOrientedTransportBindingElement
Inherits TransportBindingElement
Public MustInherit Class ConnectionOrientedTransportBindingElement
Inherits TransportBindingElement
Implements IPolicyExportExtension, IWsdlExportExtension
繼承
ConnectionOrientedTransportBindingElement
衍生
實作

備註

以文件記錄這個類別是為了讓您更了解傳輸階層架構,而且不應該直接呼叫。 建構函式會是內部的以避免直接建構與叫用。 您可以從 TcpTransportBindingElementNamedPipeTransportBindingElement 衍生類別 (Derived Class) 呼叫這個繫結項目的公用屬性。

屬性

ChannelInitializationTimeout

取得或設定 TimeSpan,決定通道在中斷連接之前,可以處於初始化狀態中的最長時間。

ConnectionBufferSize

取得或設定用來在用戶端或服務的網路上,傳輸已序列化訊息區塊 (Chunk) 的緩衝區大小。

HostNameComparisonMode

取得或設定值,這個值會指出在比對 URI 時主機名稱是否會用來取用服務。

ManualAddressing

取得或設定值,這個值會指出是否需要訊息的手動定址。

(繼承來源 TransportBindingElement)
MaxBufferPoolSize

取得或設定傳輸所使用之任何緩衝區集區的大小上限 (以位元組為單位)。

(繼承來源 TransportBindingElement)
MaxBufferSize

取得或設定要使用之緩衝區的大小上限。 對於已進行資料流處理的訊息,這個值至少應為訊息標頭的最大可能大小 (可在緩衝模式中讀取)。

MaxOutputDelay

取得或設定訊息區塊或完整訊息在送出之前,可以在記憶體中保持緩衝的最大時間間隔。

MaxPendingAccepts

取得或設定服務可使其等待接聽程式以處理服務之連入連線的通道最大數目。

MaxPendingConnections

取得或設定服務上等待分派之連線的數目上限。

MaxReceivedMessageSize

取得或設定可接收之可允許的訊息大小上限 (以位元組為單位)。

(繼承來源 TransportBindingElement)
Scheme

取得用於傳輸的 URI 配置。

(繼承來源 TransportBindingElement)
TransferMode

取得或設定值,這個值表示訊息是否使用連線導向傳輸進行緩衝或資料流處理。

方法

BuildChannelFactory<TChannel>(BindingContext)

初始化通道處理站,以便從繫結內容產生指定型別的通道。

(繼承來源 BindingElement)
BuildChannelListener<TChannel>(BindingContext)

初始化通道接聽項,以便從繫結內容接受指定之類型的通道。

(繼承來源 BindingElement)
CanBuildChannelFactory<TChannel>(BindingContext)

判斷是否可以建置指定之型別的通道處理站。

CanBuildChannelListener<TChannel>(BindingContext)

判斷是否可以建置指定之型別的通道接聽項。

CanBuildChannelListener<TChannel>(BindingContext)

傳回值,指出繫結項目是否可以建置特定通道型別的通道接聽程式。

(繼承來源 BindingElement)
Clone()

在衍生類別中覆寫時,傳回繫結項目物件的複本。

(繼承來源 BindingElement)
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetProperty<T>(BindingContext)

從繫結堆疊取得屬性,如果有的話。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ShouldSerializeMaxPendingAccepts()

指出連線導向的傳輸繫結項目是否應序列化暫止接受的上限。

ShouldSerializeMaxPendingConnections()

指出連線導向的傳輸繫結項目是否應序列化暫止連線的上限。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

明確介面實作

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

匯出關於繫結的自訂原則判斷提示。

IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

將自訂的 Web 服務描述語言 (WSDL) 項目寫入為合約產生的 WSDL。

IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

將自訂的 Web 服務描述語言 (WSDL) 項目寫入為端點產生的 WSDL。

適用於