PeerResolver.Resolve(String, Int32, TimeSpan) Method
Definition
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)
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈