SALES: 1-800-867-1380

MessageSender::BatchFlushInterval Property

Gets the batch flush interval.

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

public:
virtual property TimeSpan BatchFlushInterval {
	TimeSpan get ();
	internal: void set (TimeSpan value);
}

Property Value

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

ExceptionCondition
OperationCanceledException

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

ADD
Show:
© 2014 Microsoft