Επεξεργασία

Κοινή χρήση μέσω


PeerNodeAddress(EndpointAddress, ReadOnlyCollection<IPAddress>) Constructor

Definition

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.

Applies to