LimitPolicyStrategy

Enumeration

Visual Basic

Public Enum LimitPolicyStrategy

C#

public enum LimitPolicyStrategy

Description

These enumerated constants specify the possible strategies for resolving queue overflow.

Member

Description

LimitPolicyStrategy.DiscardNone

Never discard events; use this policy when a queue has no limit on then number of events it can contain.

LimitPolicyStrategy.DiscardFirst

Discard the first event in the queue (that is, the oldest event in the queue, which would otherwise be the next event to dispatch).

LimitPolicyStrategy.DiscardLast

Discard the last event in the queue (that is, the youngest event in the queue).

LimitPolicyStrategy.DiscardNew

Discard the new event (which would otherwise cause the queue to overflow its maximum events limit).