共用方式為


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 TimeSpan MaxOutputDelay { get; set; }
member this.MaxOutputDelay : TimeSpan with get, set
Public Property MaxOutputDelay As TimeSpan

Property Value

Returns 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 AllowedOutputBatching 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.

Applies to