CustomPeerResolverService.Resolve(ResolveInfo) 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.
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
- 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.
ResolveResponseInfo that contains the endpoints for the registration entry in the lookup table that matches the information supplied in the resolveInfo
parameter.
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().
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.
产品 | 版本 |
---|---|
.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 |