Udostępnij za pośrednictwem


PeerTransportElement.ListenIPAddress Właściwość

Definicja

Pobiera lub ustawia element konfiguracji, który określa adres IP, na którym nasłuchuje transportu równorzędnego.

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

Wartość właściwości

IPAddress

Zawiera IPAddress adres IP, na którym nasłuchuje transportu równorzędnego.

Atrybuty

Uwagi

Jeśli ta właściwość nie jest ustawiona lub ustawiona na odwołanie o wartości null, skojarzona z nią nasłuchuje na wszystkich adresach globalnych PeerNode (zarówno IPv4, jak i IPv6) skonfigurowanych dla komputera lokalnego.

Dotyczy