語言

NetPeerTcpBindingElement 類別

定義

警告

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

代表一個 XML 元素,指定對等通道專屬 TCP 訊息的綁定。

public ref class NetPeerTcpBindingElement : System::ServiceModel::Configuration::StandardBindingElement
public class NetPeerTcpBindingElement : System.ServiceModel.Configuration.StandardBindingElement
[System.Obsolete("PeerChannel feature is obsolete and will be removed in the future.", false)]
public class NetPeerTcpBindingElement : System.ServiceModel.Configuration.StandardBindingElement
type NetPeerTcpBindingElement = class
    inherit StandardBindingElement
[<System.Obsolete("PeerChannel feature is obsolete and will be removed in the future.", false)>]
type NetPeerTcpBindingElement = class
    inherit StandardBindingElement
Public Class NetPeerTcpBindingElement
Inherits StandardBindingElement
繼承
繼承
屬性

建構函式

名稱 Description
NetPeerTcpBindingElement()
已淘汰.

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

NetPeerTcpBindingElement(String)
已淘汰.

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

屬性

名稱 Description
BindingElementType
已淘汰.

取得 Type 綁定元素。

CloseTimeout
已淘汰.

取得或設定緊密操作完成所需的時間間隔。

(繼承來源 StandardBindingElement)
CurrentConfiguration
已淘汰.

取得最上層 Configuration 實例的參考,表示目前 ConfigurationElement 實例所屬的組態階層。

(繼承來源 ConfigurationElement)
ElementInformation
已淘汰.

取得 ElementInformation 物件,其中包含 ConfigurationElement 物件的不可自定義資訊和功能。

(繼承來源 ConfigurationElement)
ElementProperty
已淘汰.

取得代表 ConfigurationElementProperty 物件本身的 ConfigurationElement 物件。

(繼承來源 ConfigurationElement)
EvaluationContext
已淘汰.

取得 ContextInformation 物件的 ConfigurationElement 物件。

(繼承來源 ConfigurationElement)
HasContext
已淘汰.

取得值,這個值表示 CurrentConfiguration 屬性是否 null。

(繼承來源 ConfigurationElement)
Item[ConfigurationProperty]
已淘汰.

取得或設定這個組態項目的屬性或屬性。

(繼承來源 ConfigurationElement)
Item[String]
已淘汰.

取得或設定這個組態專案的屬性、屬性或子專案。

(繼承來源 ConfigurationElement)
ListenIPAddress
已淘汰.

取得或設定對等節點將監聽 TCP 訊息的 IP 位址。

LockAllAttributesExcept
已淘汰.

取得鎖定屬性的集合。

(繼承來源 ConfigurationElement)
LockAllElementsExcept
已淘汰.

取得鎖定專案的集合。

(繼承來源 ConfigurationElement)
LockAttributes
已淘汰.

取得鎖定屬性的集合。

(繼承來源 ConfigurationElement)
LockElements
已淘汰.

取得鎖定專案的集合。

(繼承來源 ConfigurationElement)
LockItem
已淘汰.

取得或設定值,指出專案是否已鎖定。

(繼承來源 ConfigurationElement)
MaxBufferPoolSize
已淘汰.

取得或設定緩衝池的最大大小(以位元組為單位),以儲存綁定處理的 TCP 訊息。

MaxReceivedMessageSize
已淘汰.

接收或設定由配置此元素的對等 TCP 綁定所接收訊息的最大大小(以位元組為單位)。

Name
已淘汰.

取得或設定綁定名稱。

(繼承來源 StandardBindingElement)
OpenTimeout
已淘汰.

取得或設定開啟操作完成的時間間隔。

(繼承來源 StandardBindingElement)
Port
已淘汰.

取得或設定此綁定將處理對等通道 TCP 訊息的網路介面埠。

Properties
已淘汰.

會取得該綁定元素的一系列設定屬性。

ReaderQuotas
已淘汰.

取得用此元素設定的綁定的讀取器配額設定元素。

ReceiveTimeout
已淘汰.

取得或設定接收操作完成的時間間隔。

(繼承來源 StandardBindingElement)
Resolver
已淘汰.

取得與此綁定配置相關聯的對等解析器的設定元素。

Security
已淘汰.

取得此綁定配置的安全配置元素。

SendTimeout
已淘汰.

取得或設定傳送操作完成的時間間隔。

(繼承來源 StandardBindingElement)

方法

名稱 Description
ApplyConfiguration(Binding)
已淘汰.

將指定綁定的內容套用到此綁定配置元素上。

(繼承來源 StandardBindingElement)
DeserializeElement(XmlReader, Boolean)
已淘汰.

從組態檔讀取 XML。

(繼承來源 ConfigurationElement)
Equals(Object)
已淘汰.

將目前 ConfigurationElement 實例與指定的物件進行比較。

(繼承來源 ConfigurationElement)
GetHashCode()
已淘汰.

會獲得代表當前 ConfigurationElement 實例的唯一值。

(繼承來源 ConfigurationElement)
GetTransformedAssemblyString(String)
已淘汰.

傳回所指定元件名稱的轉換版本。

(繼承來源 ConfigurationElement)
GetTransformedTypeString(String)
已淘汰.

傳回指定之型別名稱的轉換版本。

(繼承來源 ConfigurationElement)
GetType()
已淘汰.

取得目前實例的 Type。

(繼承來源 Object)
Init()
已淘汰.

將 ConfigurationElement 物件設定為其初始狀態。

(繼承來源 ConfigurationElement)
InitializeDefault()
已淘汰.

用來初始化 ConfigurationElement 物件的預設值集。

(繼承來源 ConfigurationElement)
InitializeFrom(Binding)
已淘汰.

利用提供的網路綁定資訊初始化組態元素設定。

IsModified()
已淘汰.

表示此組態元素自最後儲存或載入後是否被修改,且實作於衍生類別中。

(繼承來源 ConfigurationElement)
IsReadOnly()
已淘汰.

會取得一個值,表示該物件是否 ConfigurationElement 為唯讀。

(繼承來源 ConfigurationElement)
ListErrors(IList)
已淘汰.

將這個 ConfigurationElement 物件和所有子元素中的無效屬性錯誤新增至傳遞的清單。

(繼承來源 ConfigurationElement)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
OnApplyConfiguration(Binding)
已淘汰.

當設定事件發生時,會以所提供的網路綁定資訊初始化配置元素的設定。

OnDeserializeUnrecognizedAttribute(String, String)
已淘汰.

取得值,指出還原串行化期間是否遇到未知的屬性。

(繼承來源 ConfigurationElement)
OnDeserializeUnrecognizedElement(String, XmlReader)
已淘汰.

會獲得一個值,表示在反序列化過程中是否遇到未知元素。

(繼承來源 ConfigurationElement)
OnRequiredPropertyNotFound(String)
已淘汰.

找不到必要屬性時擲回例外狀況。

(繼承來源 ConfigurationElement)
PostDeserialize()
已淘汰.

在還原串行化之後呼叫。

(繼承來源 ConfigurationElement)
PreSerialize(XmlWriter)
已淘汰.

在串行化之前呼叫。

(繼承來源 ConfigurationElement)
Reset(ConfigurationElement)
已淘汰.

重置此組態元素物件的內部狀態,包括鎖與屬性集合。

(繼承來源 StandardBindingElement)
ResetModified()
已淘汰.

在導出類別實作時,將方法的值IsModified()重置為 。false

(繼承來源 ConfigurationElement)
SerializeElement(XmlWriter, Boolean)
已淘汰.

當在衍生類別中實作時,會將此組態元素的內容寫入設定檔。

(繼承來源 ConfigurationElement)
SerializeToXmlElement(XmlWriter, String)
已淘汰.

在衍生類別中實作時,將此組態專案的外部標記寫入組態檔。

(繼承來源 ConfigurationElement)
SetPropertyValue(ConfigurationProperty, Object, Boolean)
已淘汰.

將屬性設定為指定的值。

(繼承來源 ConfigurationElement)
SetPropertyValueIfNotDefaultValue<T>(String, T)
已淘汰.

如果設定元素的屬性值不是預設值,則會設定該屬性值。

(繼承來源 ServiceModelConfigurationElement)
SetReadOnly()
已淘汰.

設定 IsReadOnly() 物件及所有子元素的 ConfigurationElement 屬性。

(繼承來源 ConfigurationElement)
ToString()
已淘汰.

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

(繼承來源 Object)
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)
已淘汰.

修改物件 ConfigurationElement 以移除所有不應儲存的值。

(繼承來源 ConfigurationElement)

適用於