NetTcpBindingElement::PortSharingEnabled Property

 

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

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
[ConfigurationPropertyAttribute("portSharingEnabled", DefaultValue = false)]
property bool PortSharingEnabled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

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

.NET Framework
Available since 3.0
Return to top
Show: