PeerResolverMode Enum

Definition

Determines the type of peer resolver being used.

public enum PeerResolverMode
Inheritance
PeerResolverMode

Fields

Name Value Description
Auto 0

Automatically determines the type of resolver to use from the information set on the binding.

Pnrp 1

The PNRP resolver is used.

Custom 2

A custom resolver is used.

Remarks

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

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

Applies to

Product Versions
.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