PeerNodeAddress(EndpointAddress, ReadOnlyCollection<IPAddress>) Constructor
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.
Initializes a new instance of PeerNodeAddress with the supplied EndpointAddress and a collection of multihoming IP addresses also configured for the local computer.
public:
PeerNodeAddress(System::ServiceModel::EndpointAddress ^ endpointAddress, System::Collections::ObjectModel::ReadOnlyCollection<System::Net::IPAddress ^> ^ ipAddresses);
public PeerNodeAddress (System.ServiceModel.EndpointAddress endpointAddress, System.Collections.ObjectModel.ReadOnlyCollection<System.Net.IPAddress> ipAddresses);
new System.ServiceModel.PeerNodeAddress : System.ServiceModel.EndpointAddress * System.Collections.ObjectModel.ReadOnlyCollection<System.Net.IPAddress> -> System.ServiceModel.PeerNodeAddress
Public Sub New (endpointAddress As EndpointAddress, ipAddresses As ReadOnlyCollection(Of IPAddress))
Parameters
- endpointAddress
- EndpointAddress
A EndpointAddress that represents the address of the peer node within the mesh.
- ipAddresses
- ReadOnlyCollection<IPAddress>
A ReadOnlyCollection<T> that contains IP addresses configured for the local computer, and which can be used to connect to the peer node.
Exceptions
One of the arguments supplied to the constructor is set to null
.