CustomPeerResolverService.Resolve Method

Returns a list of known endpoints for a registration entry.

Namespace:  System.ServiceModel.PeerResolvers
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public virtual ResolveResponseInfo Resolve(
	ResolveInfo resolveInfo
)

Parameters

resolveInfo
Type: System.ServiceModel.PeerResolvers.ResolveInfo

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

Return Value

Type: System.ServiceModel.PeerResolvers.ResolveResponseInfo
ResolveResponseInfo that contains the endpoints for the registration entry in the lookup table that matches the information supplied in the resolveInfo parameter.

Implements

IPeerResolverContract.Resolve(ResolveInfo)

ExceptionCondition
ArgumentException

The ResolveInfo object is null or is not correctly formed.

InvalidOperationException

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft