OverflowPolicy Enumeration

Specifies the handling of messages for the MessageBufferPolicy in case the buffer reached capacity and the BufferTimeout expired.

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

Syntax

'Declaration
<DataContractAttribute(Name := "OverflowPolicy", Namespace := "https://schemas.microsoft.com/netservices/2009/05/servicebus/connect")> _
Public Enumeration OverflowPolicy
'Usage
Dim instance As OverflowPolicy
[DataContractAttribute(Name = "OverflowPolicy", Namespace = "https://schemas.microsoft.com/netservices/2009/05/servicebus/connect")]
public enum OverflowPolicy
[DataContractAttribute(Name = L"OverflowPolicy", Namespace = L"https://schemas.microsoft.com/netservices/2009/05/servicebus/connect")]
public enum class OverflowPolicy
[<DataContractAttribute(Name = "OverflowPolicy", Namespace = "https://schemas.microsoft.com/netservices/2009/05/servicebus/connect")>]
type OverflowPolicy
public enum OverflowPolicy

Members

Member name Description
RejectIncomingMessage Rejects the incoming message by faulting back to the sender.

Remarks

Windows Azure Service Bus supports only Full Trust code access security.

Currently, the only option is to reject the incoming message.

When a message buffer gets full, the message is held for a time period as specified in the send operation time-out. When the time-out expires and the message buffer is still full, the action is taken based on the OverFlow Policy setting.

See Also

Reference

Microsoft.ServiceBus Namespace