TransportBindingElement TransportBindingElement TransportBindingElement TransportBindingElement Class


An abstract base class that represents a transport binding element.

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


This class factors out properties that are common to all of the transport binding elements provided by the Windows Communication Foundation (WCF). It handles the translation of the base transport settings into run-time manifestations. It delegates the translation of transport-specific settings (for example, HttpProxySettings for HTTP) logic in its concrete derived class transport bindings, which include the following classes:


Custom transport binding element developers must inherit from this class, which derives from the BindingElement class.


TransportBindingElement() TransportBindingElement() TransportBindingElement() TransportBindingElement()

Creates a new instance of this class.

TransportBindingElement(TransportBindingElement) TransportBindingElement(TransportBindingElement) TransportBindingElement(TransportBindingElement) TransportBindingElement(TransportBindingElement)

Creates a new instance of this class from an existing instance.


ManualAddressing ManualAddressing ManualAddressing ManualAddressing

Gets or sets a value that indicates whether manual addressing of the message is required.

MaxBufferPoolSize MaxBufferPoolSize MaxBufferPoolSize MaxBufferPoolSize

Gets or sets the maximum size, in bytes, of any buffer pools used by the transport.

MaxReceivedMessageSize MaxReceivedMessageSize MaxReceivedMessageSize MaxReceivedMessageSize

Gets or sets the maximum allowable message size, in bytes, that can be received.

Scheme Scheme Scheme Scheme

Gets the URI scheme for the transport.


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

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

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

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

(Inherited from BindingElement)
CanBuildChannelFactory<TChannel>(BindingContext) CanBuildChannelFactory<TChannel>(BindingContext) CanBuildChannelFactory<TChannel>(BindingContext) 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) CanBuildChannelListener<TChannel>(BindingContext) CanBuildChannelListener<TChannel>(BindingContext) 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() Clone() Clone() Clone()

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

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

Gets a property from the specified BindingContext.

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