Redigera

Dela via


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 ref class ConnectionOrientedTransportBindingElement abstract : System::ServiceModel::Channels::TransportBindingElement
public ref class ConnectionOrientedTransportBindingElement abstract : System::ServiceModel::Channels::TransportBindingElement, System::ServiceModel::Description::IPolicyExportExtension, System::ServiceModel::Description::IWsdlExportExtension
public abstract class ConnectionOrientedTransportBindingElement : System.ServiceModel.Channels.TransportBindingElement
public abstract class ConnectionOrientedTransportBindingElement : System.ServiceModel.Channels.TransportBindingElement, System.ServiceModel.Description.IPolicyExportExtension, System.ServiceModel.Description.IWsdlExportExtension
type ConnectionOrientedTransportBindingElement = class
    inherit TransportBindingElement
type ConnectionOrientedTransportBindingElement = class
    inherit TransportBindingElement
    interface IWsdlExportExtension
    interface IPolicyExportExtension
Public MustInherit Class ConnectionOrientedTransportBindingElement
Inherits TransportBindingElement
Public MustInherit Class ConnectionOrientedTransportBindingElement
Inherits TransportBindingElement
Implements IPolicyExportExtension, IWsdlExportExtension
Inheritance
ConnectionOrientedTransportBindingElement
Derived
Implements

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 the derived classes TcpTransportBindingElement and NamedPipeTransportBindingElement.

Constructors

ConnectionOrientedTransportBindingElement()
ConnectionOrientedTransportBindingElement(ConnectionOrientedTransportBindingElement)

Properties

ChannelInitializationTimeout

Gets or sets a TimeSpan that determines the maximum time a channel can be in the initialization status before being disconnected.

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.

HostNameComparisonMode

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

ManualAddressing

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

(Inherited from TransportBindingElement)
MaxBufferPoolSize

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

(Inherited from TransportBindingElement)
MaxBufferSize

Gets or sets the maximum size of the buffer to use. For streamed messages, this value should be at least the maximum possible size of the message headers, which are read in buffered mode.

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 channels a service can have waiting on a listener for processing incoming connections to the service.

MaxPendingConnections

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

MaxReceivedMessageSize

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

(Inherited from TransportBindingElement)
Scheme

Gets the URI scheme for the transport.

(Inherited from TransportBindingElement)
TransferMode

Gets or sets a value that indicates whether the messages are buffered or streamed with the connection-oriented 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)

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

CanBuildChannelListener<TChannel>(BindingContext)

Determines whether a channel listener 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.

(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 properties from the binding stack, if present.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeMaxPendingAccepts()

Indicates whether the connection oriented transport binding element should serialize maximum pending accepts.

ShouldSerializeMaxPendingConnections()

Indicates whether the connection oriented transport binding element should serialize maximum pending connections.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

Exports a custom policy assertion about bindings.

IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.

IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.

Applies to