Free Trial *Internet Service Required
This topic has not yet been rated - Rate this topic

MessageSender.BatchFlushInterval Property

Gets the batch flush interval.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public virtual TimeSpan BatchFlushInterval { get; internal set; }

Property Value

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

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.

Did you find this helpful?
(1500 characters remaining)
facebook page visit twitter rss feed newsletter