PeerTransportElement.ListenIPAddress 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 or sets a configuration element that specifies the IP address upon which the peer transport listens.
public:
property System::Net::IPAddress ^ ListenIPAddress { System::Net::IPAddress ^ get(); void set(System::Net::IPAddress ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.PeerTransportListenAddressConverter))]
[System.Configuration.ConfigurationProperty("listenIPAddress", DefaultValue=null)]
public System.Net.IPAddress ListenIPAddress { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.PeerTransportListenAddressConverter))>]
[<System.Configuration.ConfigurationProperty("listenIPAddress", DefaultValue=null)>]
member this.ListenIPAddress : System.Net.IPAddress with get, set
Public Property ListenIPAddress As IPAddress
Property Value
A IPAddress that contains the IP address upon which the peer transport listens.
- Attributes
Remarks
If this property is not set, or is set to a null reference, the associated PeerNode listens on all global addresses (both IPv4 and IPv6) configured for the local machine.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.