PeerNodeAddress(EndpointAddress, ReadOnlyCollection<IPAddress>) Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz mit PeerNodeAddress der bereitgestellten EndpointAddress instanz und eine Sammlung von multihoming IP-Adressen, die auch für den lokalen Computer konfiguriert sind.
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))
Parameter
- endpointAddress
- EndpointAddress
Ein EndpointAddress Wert, der die Adresse des Peerknotens innerhalb des Gitters darstellt.
- 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.
Ausnahmen
Eines der Argumente, die dem Konstruktor bereitgestellt werden, ist auf null.