Bearbeiten

Freigeben über


CustomPeerResolverService.Resolve(ResolveInfo) Method

Definition

Returns a list of known endpoints for a registration entry.

public:
 virtual System::ServiceModel::PeerResolvers::ResolveResponseInfo ^ Resolve(System::ServiceModel::PeerResolvers::ResolveInfo ^ resolveInfo);
public virtual System.ServiceModel.PeerResolvers.ResolveResponseInfo Resolve (System.ServiceModel.PeerResolvers.ResolveInfo resolveInfo);
abstract member Resolve : System.ServiceModel.PeerResolvers.ResolveInfo -> System.ServiceModel.PeerResolvers.ResolveResponseInfo
override this.Resolve : System.ServiceModel.PeerResolvers.ResolveInfo -> System.ServiceModel.PeerResolvers.ResolveResponseInfo
Public Overridable Function Resolve (resolveInfo As ResolveInfo) As ResolveResponseInfo

Parameters

resolveInfo
ResolveInfo

ResolveInfo that contains information on the registration entry for which endpoints, if known, are to be looked up by the peer resolver service.

Returns

ResolveResponseInfo that contains the endpoints for the registration entry in the lookup table that matches the information supplied in the resolveInfo parameter.

Implements

Exceptions

The ResolveInfo object is null or is not correctly formed.

A registration entry with the same GUID already exists in the lookup table, or the custom peer resolver service has not been started with a previous call to Open().

Remarks

This method looks up a registration entry based on the data supplied in a ResolveInfo object and returns any corresponding endpoint addresses found in the peer resolver service's registration lookup table. The number of endpoint addresses returned is equal to or less than the value of the MaxAddresses property set on the ResolveInfo object.

Applies to