NetPeerTcpBindingElement.Port Property

 

Gets or sets the network interface port on which this binding will process peer channel TCP messages.

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

[ConfigurationPropertyAttribute("port", DefaultValue = 0)]
[IntegerValidatorAttribute(MinValue = 0, MaxValue = 65535)]
public int Port { get; set; }

Property Value

Type: System.Int32

Int32 that specifies the network port on which this binding will process peer channel TCP messages.

.NET Framework
Available since 3.0
Return to top
Show: