Windows apps
Collapse the table of content
Expand the table of content
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::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:
property TimeSpan MaxOutputDelay {
	TimeSpan get();
	void set(TimeSpan value);
}

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:
© 2017 Microsoft