Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConnectionOrientedTransportBindingElement Class

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

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract class ConnectionOrientedTransportBindingElement : TransportBindingElement, 
	IWsdlExportExtension, IPolicyExportExtension

The ConnectionOrientedTransportBindingElement type exposes the following members.

  NameDescription
Public propertyChannelInitializationTimeoutGets or sets a TimeSpan that determines the maximum time a channel can be in the initialization status before being disconnected.
Public propertySupported in .NET for Windows Store appsConnectionBufferSizeGets 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 propertyHostNameComparisonModeGets or sets a value that indicates whether the hostname is used to reach the service when matching on the URI.
Public propertySupported in .NET for Windows Store appsManualAddressingGets or sets a value that indicates whether manual addressing of the message is required. (Inherited from TransportBindingElement.)
Public propertyMaxBufferPoolSizeGets or sets the maximum size, in bytes, of any buffer pools used by the transport. (Inherited from TransportBindingElement.)
Public propertySupported in .NET for Windows Store appsMaxBufferSizeGets 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.
Public propertyMaxOutputDelayGets 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.
Public propertyMaxPendingAcceptsGets or sets the maximum number of channels a service can have waiting on a listener for processing incoming connections to the service.
Public propertyMaxPendingConnectionsGets or sets the maximum number of connections awaiting dispatch on the service.
Public propertySupported in .NET for Windows Store appsMaxReceivedMessageSizeGets and sets the maximum allowable message size, in bytes, that can be received. (Inherited from TransportBindingElement.)
Public propertySupported in .NET for Windows Store appsSchemeGets the URI scheme for the transport. (Inherited from TransportBindingElement.)
Public propertySupported in .NET for Windows Store appsTransferModeGets or sets a value that indicates whether the messages are buffered or streamed with the connection-oriented transport.
Top

  NameDescription
Public methodSupported in .NET for Windows Store appsBuildChannelFactory<TChannel>Initializes a channel factory for producing channels of a specified type from the binding context. (Inherited from BindingElement.)
Public methodBuildChannelListener<TChannel>Initializes a channel listener to accept channels of a specified type from the binding context. (Inherited from BindingElement.)
Public methodSupported in .NET for Windows Store appsCanBuildChannelFactory<TChannel>Determines whether a channel factory of the specified type can be built. (Overrides BindingElement.CanBuildChannelFactory<TChannel>(BindingContext).)
Public methodCanBuildChannelListener<TChannel>Determines whether a channel listener of the specified type can be built. (Overrides BindingElement.CanBuildChannelListener<TChannel>(BindingContext).)
Public methodSupported in .NET for Windows Store appsCloneWhen overridden in a derived class, returns a copy of the binding element object. (Inherited from BindingElement.)
Public methodSupported in .NET for Windows Store appsEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodSupported in .NET for Windows Store appsFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsGetProperty<T>Gets properties from the binding stack, if present. (Overrides TransportBindingElement.GetProperty<T>(BindingContext).)
Public methodSupported in .NET for Windows Store appsGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodSupported in .NET for Windows Store appsMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodShouldSerializeMaxPendingAcceptsIndicates whether the connection oriented transport binding element should serialize maximum pending accepts.
Public methodShouldSerializeMaxPendingConnectionsIndicates whether the connection oriented transport binding element should serialize maximum pending connections.
Public methodSupported in .NET for Windows Store appsToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIPolicyExportExtension.ExportPolicyExports a custom policy assertion about bindings.
Explicit interface implemetationPrivate methodIWsdlExportExtension.ExportContractWrites custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.
Explicit interface implemetationPrivate methodIWsdlExportExtension.ExportEndpointWrites custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.
Top

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.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Store apps

Supported in: Windows 8

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft