Editare

Partajați prin


PeerResolverBindingElement Class

Definition

Defines the abstract base class for binding elements used to create peer resolver objects.

public ref class PeerResolverBindingElement abstract : System::ServiceModel::Channels::BindingElement
public abstract class PeerResolverBindingElement : System.ServiceModel.Channels.BindingElement
type PeerResolverBindingElement = class
    inherit BindingElement
Public MustInherit Class PeerResolverBindingElement
Inherits BindingElement
Inheritance
PeerResolverBindingElement
Derived

Remarks

This class defines the abstract base class for all binding elements used to create peer resolver objects. For specific implementations of this class, please see the documentation for PnrpPeerResolverBindingElement and PeerCustomResolverBindingElement.

Constructors

PeerResolverBindingElement()

Initializes a new default instance of the PeerResolverBindingElement class.

PeerResolverBindingElement(PeerResolverBindingElement)

Initializes a new instance of the PeerResolverBindingElement class by duplicating the provided PeerResolverBindingElement object.

Properties

ReferralPolicy

Gets or sets the referral policy for peer resolvers created with binding elements created by implementations of this class.

Methods

BuildChannelFactory<TChannel>(BindingContext)

Initializes a channel factory for producing channels of a specified type from the binding context.

(Inherited from BindingElement)
BuildChannelListener<TChannel>(BindingContext)

Initializes a channel listener to accept channels of a specified type from the binding context.

(Inherited from BindingElement)
CanBuildChannelFactory<TChannel>(BindingContext)

Returns a value that indicates whether the binding element can build a channel factory for a specific type of channel.

(Inherited from BindingElement)
CanBuildChannelListener<TChannel>(BindingContext)

Returns a value that indicates whether the binding element can build a listener for a specific type of channel.

(Inherited from BindingElement)
Clone()

When overridden in a derived class, returns a copy of the binding element object.

(Inherited from BindingElement)
CreatePeerResolver()

Creates a peer resolver object with the settings defined on this binding element.

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)

When overridden in a derived class, returns a typed object requested, if present, from the appropriate layer in the binding stack.

(Inherited from BindingElement)
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