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

NameDescription
System_CAPS_pubpropertyChannelInitializationTimeout

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

System_CAPS_pubpropertyConnectionBufferSize

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.

System_CAPS_pubpropertyHostNameComparisonMode

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

System_CAPS_pubpropertyManualAddressing

Gets or sets a value that indicates whether manual addressing of the message is required.(Inherited from TransportBindingElement.)

System_CAPS_pubpropertyMaxBufferPoolSize

Gets or sets the maximum size, in bytes, of any buffer pools used by the transport. (Inherited from TransportBindingElement.)

System_CAPS_pubpropertyMaxBufferSize

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.

System_CAPS_pubpropertyMaxOutputDelay

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.

System_CAPS_pubpropertyMaxPendingAccepts

Gets or sets the maximum number of channels a service can have waiting on a listener for processing incoming connections to the service.

System_CAPS_pubpropertyMaxPendingConnections

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

System_CAPS_pubpropertyMaxReceivedMessageSize

Gets and sets the maximum allowable message size, in bytes, that can be received.(Inherited from TransportBindingElement.)

System_CAPS_pubpropertyScheme

Gets the URI scheme for the transport.(Inherited from TransportBindingElement.)

System_CAPS_pubpropertyTransferMode

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

NameDescription
System_CAPS_pubmethodBuildChannelFactory<TChannel>(BindingContext)

Initializes a channel factory for producing channels of a specified type from the binding context.(Inherited from BindingElement.)

System_CAPS_pubmethodBuildChannelListener<TChannel>(BindingContext)

Initializes a channel listener to accept channels of a specified type from the binding context.(Inherited from BindingElement.)

System_CAPS_pubmethodCanBuildChannelFactory<TChannel>(BindingContext)

Determines whether a channel factory of the specified type can be built.(Overrides BindingElement.CanBuildChannelFactory<TChannel>(BindingContext).)

System_CAPS_pubmethodCanBuildChannelListener<TChannel>(BindingContext)

Determines whether a channel listener of the specified type can be built.(Overrides BindingElement.CanBuildChannelListener<TChannel>(BindingContext).)

System_CAPS_pubmethodClone()

When overridden in a derived class, returns a copy of the binding element object.(Inherited from BindingElement.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetProperty<T>(BindingContext)

Gets properties from the binding stack, if present.(Overrides TransportBindingElement.GetProperty<T>(BindingContext).)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodShouldSerializeMaxPendingAccepts()

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

System_CAPS_pubmethodShouldSerializeMaxPendingConnections()

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

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

Exports a custom policy assertion about bindings.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

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

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0

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

Return to top
Show: