Επεξεργασία

Κοινή χρήση μέσω


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

<configuration>
  <system.serviceModel>
    <bindings>
      <customBinding>
        <binding>
          <pnrpResolver>

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="String" />

See also