Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PeerTransportBindingElement::Port Property

 

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

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

public:
property int Port {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

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

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft