PeerResolver.Resolve(String, Int32, TimeSpan) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
- 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.
A ReadOnlyCollection<T> that contains PeerNodeAddress objects representing nodes participating in the peer mesh.
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: