PeerTransportBindingElement 類別

定義

警告

PeerChannel feature is obsolete and will be removed in the future.

定義用來建立對等訊息傳輸通道的繫結項目。

public ref class PeerTransportBindingElement sealed : System::ServiceModel::Channels::TransportBindingElement, System::ServiceModel::Description::IPolicyExportExtension, System::ServiceModel::Description::IWsdlExportExtension
public sealed class PeerTransportBindingElement : System.ServiceModel.Channels.TransportBindingElement, System.ServiceModel.Description.IPolicyExportExtension, System.ServiceModel.Description.IWsdlExportExtension
[System.Obsolete("PeerChannel feature is obsolete and will be removed in the future.", false)]
public sealed class PeerTransportBindingElement : System.ServiceModel.Channels.TransportBindingElement, System.ServiceModel.Description.IPolicyExportExtension, System.ServiceModel.Description.IWsdlExportExtension
type PeerTransportBindingElement = class
    inherit TransportBindingElement
    interface IWsdlExportExtension
    interface IPolicyExportExtension
[<System.Obsolete("PeerChannel feature is obsolete and will be removed in the future.", false)>]
type PeerTransportBindingElement = class
    inherit TransportBindingElement
    interface IWsdlExportExtension
    interface IPolicyExportExtension
Public NotInheritable Class PeerTransportBindingElement
Inherits TransportBindingElement
Implements IPolicyExportExtension, IWsdlExportExtension
繼承
PeerTransportBindingElement
屬性
實作

備註

這個傳輸不可與具有要求/回覆作業的合約一起使用。

建構函式

PeerTransportBindingElement()

初始化 PeerTransportBindingElement 類別預設的新執行個體。

屬性

ListenIPAddress

取得或設定 IP 位址,這個繫結項目所建立的對等訊息傳輸會在其上接聽。

ManualAddressing

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

(繼承來源 TransportBindingElement)
MaxBufferPoolSize

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

(繼承來源 TransportBindingElement)
MaxReceivedMessageSize

取得或設定值,指定可透過這個繫結項目所建立傳輸通道傳送的訊息大小上限 (以位元組為單位)。

Port

取得或設定網路連接埠,這個繫結項目所建立的對等訊息傳輸通道會在其上接聽。

Scheme

取得配置,這個配置表示透過這個繫結項目所建立之通道所傳輸之訊息的通訊協定。

Security

取得這個繫結項目所建立之傳輸通道的特定安全性設定。

方法

BuildChannelFactory<TChannel>(BindingContext)

建立可用來建立傳送訊息之通道的通道處理站。

BuildChannelListener<TChannel>(BindingContext)

建立指定之型別的通道接聽程式來接收訊息。

CanBuildChannelFactory<TChannel>(BindingContext)

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

CanBuildChannelListener<TChannel>(BindingContext)

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

Clone()

建立目前繫結項目的複本。

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

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

從指定的 BindingContext 物件傳回屬性。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

明確介面實作

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

將自訂的對等傳輸通道項目寫入至為端點產生的中繼資料。

IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

將自訂的對等傳輸通道項目寫入至為合約產生的 WSDL。

IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

將自訂的對等傳輸通道項目寫入至為端點產生的 WSDL。

適用於