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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET