Export (0) Print
Expand All

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 = )]
[IntegerValidatorAttribute(MinValue = , MaxValue = )]
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft