PeerResolverMode Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the type of peer resolver being used.
public enum class PeerResolverMode
public enum PeerResolverMode
type PeerResolverMode =
Public Enum PeerResolverMode
- Inheritance
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. |
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.
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: