NetTcpBindingElement.PortSharingEnabled Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

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

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