SALES: 1-800-867-1380

MaxMessageCount Property

Gets or sets the maximum message count.

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

public int MaxMessageCount { get; set; }

Property Value

Type: System..::..Int32
Returns the maximum message count. The default is 10 messages.

The maximum message count refers to how many messages can be in the buffer at any given time. The maximum number of messages that the message buffer can hold is 50 messages. You can set this property from a value of 1 to 50. Once the message count cap is passed, the message buffer implements the overflow policy, as defined in OverflowPolicy For more information on setting message buffer policy, see How to: Configure an AppFabric Service Bus Message Buffer.

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

Community Additions

Show:
© 2014 Microsoft