PnrpPeerResolverBindingElement Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 NotInheritable Class PnrpPeerResolverBindingElement
	Inherits 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(Of TChannel)(BindingContext)

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

System_CAPS_pubmethodBuildChannelListener(Of TChannel)(BindingContext)

Creates a channel listener of the specified type for receiving messages.(Overrides BindingElement.BuildChannelListener(Of TChannel)(BindingContext).)

System_CAPS_pubmethodCanBuildChannelFactory(Of TChannel)(BindingContext)

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

System_CAPS_pubmethodCanBuildChannelListener(Of TChannel)(BindingContext)

Determines whether a channel listener of the specified type can be built.(Overrides BindingElement.CanBuildChannelListener(Of 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(Of T)(BindingContext)

Returns a property from the specified BindingContext object.(Overrides BindingElement.GetProperty(Of 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: