Поделиться через


NetPeerTcpBindingElement.ListenIPAddress Свойство

Определение

Возвращает или задает IP-адрес, на котором одноранговый узел будет прослушивать TCP-сообщения.

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

Значение свойства

Объект String, в котором указывается IP-адрес (IPv4 или IPv6), на котором привязка однорангового канала будет прослушивать TCP-сообщения.

Атрибуты

Применяется к