編集

次の方法で共有


NetTcpBindingElement.PortSharingEnabled Property

Definition

Gets or sets a boolean value that specifies whether TCP port sharing is enabled for this connection.

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

Property Value

true if TCP port sharing is enabled for this connection; otherwise, false.

Attributes

Applies to