ConnectionOrientedTransportBindingElement.MaxOutputDelay Property

 

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.

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

public TimeSpan MaxOutputDelay { get; set; }

Property Value

Type: System.TimeSpan

A TimeSpan that specifies the maximum interval of time that a chunk of a message or a full message can remain buffered in memory before being sent out. The default value is 2 seconds. This property is only meaningful if the AllowOutputBatching property of an outgoing message is set to true. Otherwise, this value is ignored and messages are sent immediately.

Exception Condition
ArgumentOutOfRangeException

The value is less than zero.

If AllowOutputBatching is false then this property is ignored for that message.

.NET Framework
Available since 3.0
Return to top
Show: