PnrpPeerResolverBindingElement Class
Defines the binding element used to create a Peer Name Resolution Protocol (PNRP) peer resolver.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
System.ServiceModel.Channels::BindingElement
System.ServiceModel.Channels::PeerResolverBindingElement
System.ServiceModel.Channels::PnrpPeerResolverBindingElement
| Name | Description | |
|---|---|---|
![]() | PnrpPeerResolverBindingElement() | Initializes a new default instance of the PnrpPeerResolverBindingElement class. |
![]() | PnrpPeerResolverBindingElement(PeerReferralPolicy) | Initializes a new instance of the PnrpPeerResolverBindingElement class with the provided peer referral policy. |
| Name | Description | |
|---|---|---|
![]() | ReferralPolicy | Gets and sets the referral policy for the PNRP peer resolver created by this binding element.(Overrides PeerResolverBindingElement::ReferralPolicy.) |
| Name | Description | |
|---|---|---|
![]() | BuildChannelFactory<TChannel>(BindingContext^) | Creates a channel factory that can be used to create a channel for sending messages.(Overrides BindingElement::BuildChannelFactory<TChannel>(BindingContext^).) |
![]() | BuildChannelListener<TChannel>(BindingContext^) | Creates a channel listener of the specified type for receiving messages.(Overrides BindingElement::BuildChannelListener<TChannel>(BindingContext^).) |
![]() | CanBuildChannelFactory<TChannel>(BindingContext^) | Determines whether a channel factory of the specified type can be built.(Overrides BindingElement::CanBuildChannelFactory<TChannel>(BindingContext^).) |
![]() | CanBuildChannelListener<TChannel>(BindingContext^) | Determines whether a channel listener of the specified type can be built.(Overrides BindingElement::CanBuildChannelListener<TChannel>(BindingContext^).) |
![]() | Clone() | Creates a new instance that is a copy of the current binding element.(Overrides BindingElement::Clone().) |
![]() | CreatePeerResolver() | Creates a PNRP-specific PeerResolver instance.(Overrides PeerResolverBindingElement::CreatePeerResolver().) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetProperty<T>(BindingContext^) | Returns a property from the specified BindingContext object.(Overrides BindingElement::GetProperty<T>(BindingContext^).) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
To create a peer resolver from an instance of this class, call CreatePeerResolver after the instance has been constructed.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

