description | title | ms.date | ms.assetid |
---|---|---|---|
Learn more about: <custom> |
<custom> |
03/30/2017 |
a6f65a00-bd1a-4d4a-955a-fe009ec02ab8 |
Specifies settings for a custom peer resolver service.
<configuration>
<system.serviceModel>
<bindings>
<netPeerTcpBinding>
<binding>
<resolver>
<custom>
<custom address="Uri"
resolverType="String">
<headers/>
<identity/>
</custom>
The following sections describe attributes, child elements, and parent elements.
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. |
Element | Description |
---|---|
<identity> | Specifies the identity for custom peer resolvers configured with this element. This element is of type xref:System.ServiceModel.Configuration.IdentityElement. |
<headers> | A collection of address header used for SOAP messages handled by the custom peer resolver. |
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. |
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.
- xref:System.ServiceModel.PeerResolvers.CustomPeerResolverService
- xref:System.ServiceModel.PeerResolvers.PeerCustomResolverSettings
- xref:System.ServiceModel.Configuration.PeerResolverElement.Custom%2A
- xref:System.ServiceModel.Configuration.PeerCustomResolverElement
- Peer Resolvers
- Adding a Custom Resolver to a PeerChannel Application