PeerResolverMode PeerResolverMode PeerResolverMode PeerResolverMode Enum

Definition

Determines the type of peer resolver being used.

public enum class PeerResolverMode
public enum PeerResolverMode
type PeerResolverMode = 
Public Enum PeerResolverMode
Inheritance
PeerResolverModePeerResolverModePeerResolverModePeerResolverMode

Fields

Auto Auto Auto Auto 0

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

Custom Custom Custom Custom 2

A custom resolver is used.

Pnrp Pnrp Pnrp Pnrp 1

The PNRP 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