語言

NetTcpBindingElement.PortSharingEnabled 屬性

定義

取得或設定一個布林值,指定此連線是否啟用 TCP 埠共享。

public:
 property bool PortSharingEnabled { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("portSharingEnabled", DefaultValue=false)]
public bool PortSharingEnabled { get; set; }
[<System.Configuration.ConfigurationProperty("portSharingEnabled", DefaultValue=false)>]
member this.PortSharingEnabled : bool with get, set
Public Property PortSharingEnabled As Boolean

屬性值

true若此連線啟用 TCP 埠共享;否則,。 false

屬性

適用於