EndpointPermission.Port Property  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the network port number that is associated with this endpoint.
public:
 property int Port { int get(); };public int Port { get; }member this.Port : intPublic ReadOnly Property Port As IntegerProperty Value
The network port number that is associated with this request, or AllPorts.