Export (0) Print
Expand All

PeerResolver.Resolve Method

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

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract ReadOnlyCollection<PeerNodeAddress> Resolve(
	string meshId,
	int maxAddresses,
	TimeSpan timeout


Type: System.String

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

Type: System.Int32

The number of endpoint addresses to return.

Type: System.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.

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<PeerNodeAddress>
A ReadOnlyCollection<T> that contains PeerNodeAddress objects representing nodes participating in the peer mesh.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft