次の方法で共有


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
Public property 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.
Public property ManualAddressing Gets or sets a value that indicates whether manual addressing of the message is required. (Inherited from TransportBindingElement.)
Public property MaxBufferSize Gets or sets the maximum size of the buffer to use.
Public property MaxReceivedMessageSize Gets and sets the maximum allowable message size that can be received. (Inherited from TransportBindingElement.)
Public property Scheme Gets the URI scheme for the transport. (Inherited from TransportBindingElement.)

Top

Methods

  Name Description
Public method BuildChannelFactory<TChannel> Initializes a channel factory for producing channels of a specified type from the binding context. (Inherited from BindingElement.)
Public method CanBuildChannelFactory<TChannel> Determines whether a channel factory of the specified type can be built. (Overrides BindingElement.CanBuildChannelFactory<TChannel>(BindingContext).)
Public method Clone When overridden in a derived class, returns a copy of the binding element object. (Inherited from BindingElement.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method 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.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetProperty<T> Gets a property from the specified BindingContext. (Inherited from TransportBindingElement.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.