共用方式為


ConnectionOrientedTransportBindingElement Class

Definition

An abstract class that supplements the base TransportBindingElement with additional properties that are common to connection-oriented transports such as TCP and named pipes.

public abstract class ConnectionOrientedTransportBindingElement : System.ServiceModel.Channels.TransportBindingElement
type ConnectionOrientedTransportBindingElement = class
    inherit TransportBindingElement
Public MustInherit Class ConnectionOrientedTransportBindingElement
Inherits TransportBindingElement
Inheritance
ConnectionOrientedTransportBindingElement
Derived

Properties

ChannelInitializationTimeout

Gets or sets the timespan that specifies how long the channel initialization has to complete before timing out.

ConnectionBufferSize

Gets and sets the size of the buffer used to transmit a chunk of the serialized message on the wire from the client or service.

HostNameComparisonMode

Gets or sets a value that indicates whether the hostname is used to reach the service when matching on the URI.

MaxBufferSize

Gets or sets the maximum size of the buffer to use.

MaxOutputDelay

Gets or sets the maximum interval of time that a chunk of a message or a full message can remain buffered in memory before being sent out.

MaxPendingAccepts

Gets or sets the maximum number of pending asynchronous accept operations that are available for processing incoming connections to the service.

MaxPendingConnections

Gets or sets the maximum number of connections awaiting dispatch on the service.

TransferMode

Gets or sets a value that specifies whether the messages are buffered or streamed with the connection-oriented transport.

Methods

CanBuildChannelFactory<TChannel>(BindingContext)

Determines whether a channel factory of the specified type can be built.

CanBuildChannelListener<TChannel>(BindingContext)

Returns a value that indicates whether the binding element can build a listener for a specific type of channel.

GetProperty<T>(BindingContext)

Retrieves properties from the binding stack, if present.

Applies to