편집

다음을 통해 공유


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.

public:
 abstract System::Collections::ObjectModel::ReadOnlyCollection<System::ServiceModel::PeerNodeAddress ^> ^ Resolve(System::String ^ meshId, int maxAddresses, TimeSpan timeout);
public abstract System.Collections.ObjectModel.ReadOnlyCollection<System.ServiceModel.PeerNodeAddress> Resolve (string meshId, int maxAddresses, TimeSpan timeout);
abstract member Resolve : string * int * TimeSpan -> System.Collections.ObjectModel.ReadOnlyCollection<System.ServiceModel.PeerNodeAddress>
Public MustOverride Function Resolve (meshId As String, maxAddresses As Integer, timeout As TimeSpan) As ReadOnlyCollection(Of PeerNodeAddress)

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