LimitPolicy

Class

Superclasses

System.Object
  LimitPolicy

Visual Basic

Public Class LimitPolicy

C#

public class LimitPolicy

Purpose

Determine queue overflow behavior.

Method

Description

Page

Constructor

LimitPolicy

Create a limit policy.

LimitPolicy

Member

Description

 

Public Instance Properties

DiscardAmount uint

When the queue exceeds its maximum event limit, discard a block of events. This property specifies the number of events to discard.

Get

MaxEvents uint

Programs can limit the maximum number of message events that the queue can hold—either to curb queue growth, or implement a specialized dispatch semantics.

Zero (the initial value) specifies an unlimited number of events.

Get

Strategy

LimitPolicyStrategy

Each queue has a policy strategy for discarding events when a new event would cause the queue to exceed its MaxEvents limit.

Get