PeerTransportBindingElement.Port Property

Definition

Gets or sets the network port on which peer message transport channels created by this binding element listen.

public:
 property int Port { int get(); void set(int value); };
public int Port { get; set; }
member this.Port : int with get, set
Public Property Port As Integer

Property Value

The network port on which peer message transports created by this binding element listen.

Remarks

If a port is not specified, then a port number is chosen from the set of available dynamic ports.

Applies to