PnrpPeerResolverBindingElement PnrpPeerResolverBindingElement PnrpPeerResolverBindingElement 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

Remarks

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

Constructors

PnrpPeerResolverBindingElement() PnrpPeerResolverBindingElement() PnrpPeerResolverBindingElement() PnrpPeerResolverBindingElement()

Initializes a new default instance of the PnrpPeerResolverBindingElement class.

PnrpPeerResolverBindingElement(PeerReferralPolicy) PnrpPeerResolverBindingElement(PeerReferralPolicy) PnrpPeerResolverBindingElement(PeerReferralPolicy) PnrpPeerResolverBindingElement(PeerReferralPolicy)

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

Properties

ReferralPolicy ReferralPolicy ReferralPolicy ReferralPolicy

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

Methods

BuildChannelFactory<TChannel>(BindingContext) BuildChannelFactory<TChannel>(BindingContext) BuildChannelFactory<TChannel>(BindingContext) BuildChannelFactory<TChannel>(BindingContext)

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

BuildChannelListener<TChannel>(BindingContext) BuildChannelListener<TChannel>(BindingContext) BuildChannelListener<TChannel>(BindingContext) BuildChannelListener<TChannel>(BindingContext)

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

CanBuildChannelFactory<TChannel>(BindingContext) CanBuildChannelFactory<TChannel>(BindingContext) CanBuildChannelFactory<TChannel>(BindingContext) CanBuildChannelFactory<TChannel>(BindingContext)

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

CanBuildChannelListener<TChannel>(BindingContext) CanBuildChannelListener<TChannel>(BindingContext) CanBuildChannelListener<TChannel>(BindingContext) CanBuildChannelListener<TChannel>(BindingContext)

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

Clone() Clone() Clone() Clone()

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

CreatePeerResolver() CreatePeerResolver() CreatePeerResolver() CreatePeerResolver()

Creates a PNRP-specific PeerResolver instance.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProperty<T>(BindingContext) GetProperty<T>(BindingContext) GetProperty<T>(BindingContext) GetProperty<T>(BindingContext)

Returns a property from the specified BindingContext object.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to