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 [P: System.ServiceModel.PeerResolvers.PeerCustomResolverSettings.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.

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