Szerkesztés

Megosztás a következőn keresztül:


PeerCustomResolverBindingElement Class

Definition

Caution

PeerChannel feature is obsolete and will be removed in the future.

Defines the binding element used to create a custom peer resolver.

public ref class PeerCustomResolverBindingElement sealed : System::ServiceModel::Channels::PeerResolverBindingElement
public sealed class PeerCustomResolverBindingElement : System.ServiceModel.Channels.PeerResolverBindingElement
[System.Obsolete("PeerChannel feature is obsolete and will be removed in the future.", false)]
public sealed class PeerCustomResolverBindingElement : System.ServiceModel.Channels.PeerResolverBindingElement
type PeerCustomResolverBindingElement = class
    inherit PeerResolverBindingElement
[<System.Obsolete("PeerChannel feature is obsolete and will be removed in the future.", false)>]
type PeerCustomResolverBindingElement = class
    inherit PeerResolverBindingElement
Public NotInheritable Class PeerCustomResolverBindingElement
Inherits PeerResolverBindingElement
Inheritance
PeerCustomResolverBindingElement
Attributes

Constructors

PeerCustomResolverBindingElement()

Initializes a new default instance of the PeerCustomResolverBindingElement class.

PeerCustomResolverBindingElement(BindingContext, PeerCustomResolverSettings)

Initializes a new instance of the PeerCustomResolverBindingElement class with the provided binding context and resolver settings.

PeerCustomResolverBindingElement(PeerCustomResolverBindingElement)

Initializes a new instance of the PeerCustomResolverBindingElement class by cloning the provided custom peer resolver binding.

PeerCustomResolverBindingElement(PeerCustomResolverSettings)

Initializes a new instance of the PeerCustomResolverBindingElement class with the provided resolver settings.

Properties

Address

Gets or sets the endpoint address of the peer on which resolvers created by this binding will run.

Binding

Gets or sets the network binding used by resolvers created with this binding element.

ReferralPolicy

Gets or sets the referral policy for peer resolvers created with 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 copy of the current binding element.

CreatePeerResolver()

Creates a new instance of the custom peer resolver.

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