PeerNode.Port Property

 

Gets the network port on which the peer node is listening.

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

public int Port { get; }

Property Value

Type: System.Int32

Int32 that specifies the network port on which the peer node is listening.

Exception Condition
InvalidOperationException

No channel is open for listening.

.NET Framework
Available since 3.0
Return to top
Show: