Επεξεργασία

Κοινή χρήση μέσω


ConnectionOrientedTransportBindingElement.MaxOutputDelay Property

Definition

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.

public:
 property TimeSpan MaxOutputDelay { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan MaxOutputDelay { get; set; }
member this.MaxOutputDelay : TimeSpan with get, set
Public Property MaxOutputDelay As TimeSpan

Property Value

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.

Exceptions

The value is less than zero.

Remarks

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

Applies to