語言

UdpTransportBindingElement 類別

定義

代表一個 UDP 傳輸結合元件。

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

建構函式

名稱 Description
UdpTransportBindingElement()

初始化 UdpTransportBindingElement 類別的新執行個體。

屬性

名稱 Description
DuplicateMessageHistoryLength

取得或設定綁定用來識別重複訊息的最大雜湊數。

ManualAddressing

取得或設定一個值,指示是否需要手動定址訊息。

(繼承來源 TransportBindingElement)
MaxBufferPoolSize

取得或設定傳輸所使用緩衝池的最大大小(位元組)。

(繼承來源 TransportBindingElement)
MaxPendingMessagesTotalSize

接收或設定單一通道實例中已接收但尚未從輸入佇列移除的最大訊息數量。

MaxReceivedMessageSize

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

(繼承來源 TransportBindingElement)
MulticastInterfaceId

接收或設定用於多重優化機器上發送與接收多播流量的網路介面卡。

RetransmissionSettings

取得或設定 UDP 重傳設定。

Scheme

取得URI方案作為運輸方案。

SocketReceiveBufferSize

取得或設定底層套接字的接收緩衝區大小。

TimeToLive

取得或設定網路區段跳數。

方法

名稱 Description
BuildChannelFactory<TChannel>(BindingContext)

初始化一個通道工廠,用於從綁定上下文中產生特定類型的通道。

BuildChannelListener<TChannel>(BindingContext)

初始化通道監聽器,以接受綁定上下文中指定類型的通道。

CanBuildChannelFactory<TChannel>(BindingContext)

回傳一個值,指示綁定元件是否能為特定類型通道建立通道工廠。

CanBuildChannelListener<TChannel>(BindingContext)

回傳一個值,表示綁定元件是否能為特定通道建立監聽器。

Clone()

回傳綁定元素物件的副本。

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

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

回傳指定的綁定上下文中的屬性。

GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ShouldSerializeRetransmissionSettings()

指示綁定元件的重傳設定是否應該序列化。

ToString()

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

(繼承來源 Object)

明確介面實作

名稱 Description
IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

將自訂政策斷言寫入綁定元素的上下文中。

IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

將自訂的 Web Services Description Language(WSDL)元素寫入合約產生的 WSDL 中。

IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

將自訂的 Web Services Description Language(WSDL)元素寫入終端生成的 WSDL 中。

適用於