Upravit

Sdílet prostřednictvím


PnrpPeerResolverBindingElement Class

Definition

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

public ref class PnrpPeerResolverBindingElement sealed : System::ServiceModel::Channels::PeerResolverBindingElement
public sealed class PnrpPeerResolverBindingElement : System.ServiceModel.Channels.PeerResolverBindingElement
type PnrpPeerResolverBindingElement = class
    inherit PeerResolverBindingElement
Public NotInheritable Class PnrpPeerResolverBindingElement
Inherits PeerResolverBindingElement
Inheritance
PnrpPeerResolverBindingElement

Remarks

To create a peer resolver from an instance of this class, call CreatePeerResolver after the instance has been constructed.

Constructors

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.

Properties

ReferralPolicy

Gets or sets the referral policy for the PNRP peer resolver created by this binding element.

Methods

BuildChannelFactory<TChannel>(BindingContext)

Creates a channel factory that can be used to create a channel for sending messages.

BuildChannelListener<TChannel>(BindingContext)

Creates a channel listener of the specified type for receiving messages.

CanBuildChannelFactory<TChannel>(BindingContext)

Determines whether a channel factory of the specified type can be built.

CanBuildChannelListener<TChannel>(BindingContext)

Determines whether a channel listener of the specified type can be built.

Clone()

Creates a new instance that is a copy of the current binding element.

CreatePeerResolver()

Creates a PNRP-specific PeerResolver instance.

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.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to