Bearbeiten

Freigeben über


TransportBindingElement Class

Definition

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
Inheritance
TransportBindingElement
Derived

Remarks

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:

Note

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

Constructors

TransportBindingElement()

Creates a new instance of this class.

TransportBindingElement(TransportBindingElement)

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

Properties

ManualAddressing

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

MaxBufferPoolSize

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

MaxReceivedMessageSize

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

Scheme

Gets the URI scheme for the transport.

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

Gets a property from the specified BindingContext.

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