This documentation is archived and is not being maintained.

PeerResolverMode Enumeration

Determines the type of peer resolver being used.

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

public enum PeerResolverMode

Member nameDescription
AutoAutomatically determines the type of resolver to use from the information set on the binding.

If available, a custom resolver is used. If one is unavailable, the PNRP peer resolver is used. A peer resolver is considered "available" if the Address and Binding properties are set on it.

PnrpThe PNRP resolver is used.
CustomA custom resolver is used.

If the specified peer resolver is unavailable, a InvalidOperationException will be thrown when an attempt to use the resolver is made.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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