Udostępnij za pośrednictwem


<pnrpPeerResolver>

Specifies that the PNRP (Peer Name Resolution Protocol) resolver is to be used as a resolver. This element is optional because PNRP is the default resolver.

Schema Hierarchy

<system.serviceModel>
  <bindings>
    <customBinding>
      <binding>
        <pnrpPeerResolver>

Syntax

<pnrpResolver resolverType="String" />

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

resolverType

A string that specifies the resolver to be used. This attribute is optional. If it is not set, or if it is set to an empty string, PNRP is used.

Child Elements

None

Parent Elements

Element Description

<binding>

Defines all binding capabilities of the custom binding.

Example

<pnrpResolver resolverType="" />

See Also

Reference

<customBinding>
PnrpPeerResolverElement
PnrpPeerResolverBindingElement
CustomBinding

Other Resources

Windows Communication Foundation Bindings
Extending Bindings
Custom Bindings
Peer Resolvers