Class ConnectionOrientedTransportElement
- Namespace
- Microsoft.ServiceBus.Configuration
- Assembly
- Microsoft.ServiceBus.dll
Represents the configuration element that provides additional configuration settings to connection-oriented transport binding elements, such as TCP and named pipes.
public abstract class ConnectionOrientedTransportElement : TransportElement
- Inheritance
-
ConnectionOrientedTransportElement
- Derived
Properties
ChannelInitializationTimeout
Gets or sets the maximum time the channel can be in the initialization status before being disconnected.
[TypeConverter(typeof(TimeSpanOrInfiniteConverter))]
public TimeSpan ChannelInitializationTimeout { get; set; }
Property Value
- TimeSpan
The maximum time the channel can be in the initialization status before being disconnected.
ConnectionBufferSize
Gets or sets the size of the buffer used to transmit a part of the serialized message on the wire from the client or service.
public int ConnectionBufferSize { get; set; }
Property Value
- int
Returns a int that contains the size of the buffer used to transmit a part of the serialized message on the wire from the client or service. The default value is 8K.
HostNameComparisonMode
Gets or sets a value that indicates whether the hostname is used to reach the service when matching on the URI.
public HostNameComparisonMode HostNameComparisonMode { get; set; }
Property Value
- HostNameComparisonMode
A valid HostnameComparisonMode value that indicates whether the hostname is included when routing incoming requests to an endpoint URI. The default value is StrongWildcard, which ignores the hostname in the match.
MaxBufferSize
Gets or sets the maximum size of the buffer to use.
public int MaxBufferSize { get; set; }
Property Value
- int
The maximum number of bytes that are used to buffer incoming messages in memory. The default value is 65,536 bytes.
MaxOutputDelay
Gets or sets the maximum interval of time that a part of a message or a full message can remain buffered in memory before being sent out.
[TypeConverter(typeof(TimeSpanOrInfiniteConverter))]
public TimeSpan MaxOutputDelay { get; set; }
Property Value
- TimeSpan
The maximum interval of time that a part of a message or a full message can remain buffered in memory before being sent out. The default value is 2 seconds.
MaxPendingAccepts
Gets or sets the maximum number of pending asynchronous accept threads that are available for processing incoming connections on the service.
public int MaxPendingAccepts { get; set; }
Property Value
- int
The maximum number of pending messages the service can accept. The default value is 1.
MaxPendingConnections
Gets or sets the maximum number of pending connections.
public int MaxPendingConnections { get; set; }
Property Value
- int
The maximum number of pending connections.
Properties
Gets a ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element.
protected override ConfigurationPropertyCollection Properties { get; }
Property Value
- ConfigurationPropertyCollection
Returns a System.Configuration.ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element.
TransferMode
Gets or sets a value that specifies whether the messages are buffered or streamed with the connection-oriented transport.
public TransferMode TransferMode { get; set; }
Property Value
- TransferMode
Returns a valid System.ServiceModel.TransferMode value that specifies whether a channel uses streamed or buffered modes of message transfer. The default is Buffered.
Methods
ApplyConfiguration(BindingElement)
Applies the settings of this configuration element to the specified System.ServiceModel.Channels.BindingElement.
public override void ApplyConfiguration(BindingElement bindingElement)
Parameters
bindingElement
BindingElementThe binding element to update the settings of.
CopyFrom(ServiceModelExtensionElement)
Copies the content of the specified configuration element to this configuration element.
public override void CopyFrom(ServiceModelExtensionElement from)
Parameters
from
ServiceModelExtensionElementThe configuration element to be copied.