Editare

Partajați prin


PeerTransportElement.ListenIPAddress Property

Definition

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