语言

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.

属性

适用于