SALES: 1-800-867-1380

MessageSender.BatchFlushInterval Property

Gets the batch flush interval.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

function get BatchFlushInterval () : TimeSpan
internal function set BatchFlushInterval (value : TimeSpan)

Property Value

Type: System.TimeSpan
A batch flush interval. The default value is 20 ms.


Thrown when the MessageSender is in closing, closed, or faulted state.

The batch flush is used for implicit batching and is configurable on the object. You can disable implicit batching by specifying 0 as the batch interval. This is set in the BatchFlushInterval property.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft