ConnectionOrientedTransportBindingElement Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
An abstract class that supplements the base TransportBindingElement class with additional properties that are common to connection-oriented transports, such as TCP.
Inheritance Hierarchy
System.Object
System.ServiceModel.Channels.BindingElement
System.ServiceModel.Channels.TransportBindingElement
System.ServiceModel.Channels.ConnectionOrientedTransportBindingElement
System.ServiceModel.Channels.TcpTransportBindingElement
Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel.NetTcp (in System.ServiceModel.NetTcp.dll)
Syntax
'Declaration
Public MustInherit Class ConnectionOrientedTransportBindingElement _
Inherits TransportBindingElement
public abstract class ConnectionOrientedTransportBindingElement : TransportBindingElement
The ConnectionOrientedTransportBindingElement type exposes the following members.
Properties
Name | Description | |
---|---|---|
ConnectionBufferSize | Gets or sets the size of the buffer used to transmit a chunk of the serialized message on the wire from the client or service. | |
ManualAddressing | Gets or sets a value that indicates whether manual addressing of the message is required. (Inherited from TransportBindingElement.) | |
MaxBufferSize | Gets or sets the maximum size of the buffer to use. | |
MaxReceivedMessageSize | Gets and sets the maximum allowable message size that can be received. (Inherited from TransportBindingElement.) | |
Scheme | Gets the URI scheme for the transport. (Inherited from TransportBindingElement.) |
Top
Methods
Name | Description | |
---|---|---|
BuildChannelFactory<TChannel> | Initializes a channel factory for producing channels of a specified type from the binding context. (Inherited from BindingElement.) | |
CanBuildChannelFactory<TChannel> | Determines whether a channel factory of the specified type can be built. (Overrides BindingElement.CanBuildChannelFactory<TChannel>(BindingContext).) | |
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 the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetProperty<T> | Gets a property from the specified BindingContext. (Inherited from TransportBindingElement.) | |
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.) |
Top
Remarks
This class is documented to give a more complete understanding of the transports hierarchy and is not expected to be directly called. The constructor is internal to avoid direct construction and invocation. The public properties of this binding element can be called from a derived class, such as the TcpTransportBindingElement class.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.