PeerResolver.Resolve(String, Int32, TimeSpan) Method

Definition

Resolves the supplied mesh ID to zero or more endpoint addresses of nodes participating in the peer mesh.

C#
public abstract System.Collections.ObjectModel.ReadOnlyCollection<System.ServiceModel.PeerNodeAddress> Resolve(string meshId, int maxAddresses, TimeSpan timeout);

Parameters

meshId
String

The mesh ID of the peer mesh within which the PeerNodeAddress objects representing participating nodes are to be obtained.

maxAddresses
Int32

The number of endpoint addresses to return.

timeout
TimeSpan

The length of time to wait for success before aborting the attempt to resolve endpoint addresses within the peer mesh. If the attempt fails, TimeoutException is raised on the peer.

Returns

A ReadOnlyCollection<T> that contains PeerNodeAddress objects representing nodes participating in the peer mesh.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1