TransportBindingElement Class
An abstract base class that represents a transport binding element.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
System.ServiceModel.Channels::BindingElement
System.ServiceModel.Channels::TransportBindingElement
System.ServiceModel.Channels::ConnectionOrientedTransportBindingElement
System.ServiceModel.Channels::HttpTransportBindingElement
System.ServiceModel.Channels::MsmqBindingElementBase
System.ServiceModel.Channels::PeerTransportBindingElement
System.ServiceModel.Channels::UdpTransportBindingElement
| Name | Description | |
|---|---|---|
![]() | TransportBindingElement() | Creates a new instance of this class. |
![]() | TransportBindingElement(TransportBindingElement^) | Creates a new instance of this class from an existing instance. |
| Name | Description | |
|---|---|---|
![]() | 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 and sets the maximum allowable message size, in bytes, that can be received. |
![]() | Scheme | Gets the URI scheme for the transport. |
| Name | Description | |
|---|---|---|
![]() | 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.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetProperty<T>(BindingContext^) | Gets a property from the specified BindingContext.(Overrides BindingElement::GetProperty<T>(BindingContext^).) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
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. |
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



