<custom>

Specifies settings for a custom peer resolver service.

<system.serviceModel>
<bindings>
<netPeerBinding>
<binding>
<resolver>
<custom>

Syntax

<custom address="Uri" 
        resolverType="String">  
  <headers/>  
  <identity/>  
</custom>  

Attributes and Elements

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

Attributes

Attribute Description
address A URI that specifies the endpoint address of the peer node that hosts the custom peer resolver service.
resolverType A string that specifies the type of the custom peer resolver service.

Child Elements

Element Description
<identity> Specifies the identity for custom peer resolvers configured with this element. This element is of type IdentityElement.
<headers> A collection of address header used for SOAP messages handled by the custom peer resolver.

Parent Elements

Element Description
<resolver> A peer resolver that is used to resolve a peer mesh ID to a set of peer node addresses that represents several nodes that participate in the mesh.

Remarks

This element defines the basic settings for a custom peer resolver service, including the endpoint address of the peer hosting the service and any specific binding settings. For more information on creating a custom resolver, see Adding a Custom Resolver to a PeerChannel Application.

See Also

CustomPeerResolverService
PeerCustomResolverSettings
Custom
PeerCustomResolverElement
Peer Resolvers
Adding a Custom Resolver to a PeerChannel Application