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.

CustomA custom resolver is used.
PnrpThe PNRP 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.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft