PnrpPeerResolverBindingElement Class

 

Defines the binding element used to create a Peer Name Resolution Protocol (PNRP) peer resolver.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System::Object
  System.ServiceModel.Channels::BindingElement
    System.ServiceModel.Channels::PeerResolverBindingElement
      System.ServiceModel.Channels::PnrpPeerResolverBindingElement

public ref class PnrpPeerResolverBindingElement sealed : PeerResolverBindingElement

NameDescription
System_CAPS_pubmethodPnrpPeerResolverBindingElement()

Initializes a new default instance of the PnrpPeerResolverBindingElement class.

System_CAPS_pubmethodPnrpPeerResolverBindingElement(PeerReferralPolicy)

Initializes a new instance of the PnrpPeerResolverBindingElement class with the provided peer referral policy.

NameDescription
System_CAPS_pubpropertyReferralPolicy

Gets and sets the referral policy for the PNRP peer resolver created by this binding element.(Overrides PeerResolverBindingElement::ReferralPolicy.)

NameDescription
System_CAPS_pubmethodBuildChannelFactory<TChannel>(BindingContext^)

Creates a channel factory that can be used to create a channel for sending messages.(Overrides BindingElement::BuildChannelFactory<TChannel>(BindingContext^).)

System_CAPS_pubmethodBuildChannelListener<TChannel>(BindingContext^)

Creates a channel listener of the specified type for receiving messages.(Overrides BindingElement::BuildChannelListener<TChannel>(BindingContext^).)

System_CAPS_pubmethodCanBuildChannelFactory<TChannel>(BindingContext^)

Determines whether a channel factory of the specified type can be built.(Overrides BindingElement::CanBuildChannelFactory<TChannel>(BindingContext^).)

System_CAPS_pubmethodCanBuildChannelListener<TChannel>(BindingContext^)

Determines whether a channel listener of the specified type can be built.(Overrides BindingElement::CanBuildChannelListener<TChannel>(BindingContext^).)

System_CAPS_pubmethodClone()

Creates a new instance that is a copy of the current binding element.(Overrides BindingElement::Clone().)

System_CAPS_pubmethodCreatePeerResolver()

Creates a PNRP-specific PeerResolver instance.(Overrides PeerResolverBindingElement::CreatePeerResolver().)

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetProperty<T>(BindingContext^)

Returns a property from the specified BindingContext object.(Overrides BindingElement::GetProperty<T>(BindingContext^).)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

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.

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

Return to top
Show: