CompactionTriggers.MessagesExceed(Int32) Method

Definition

Creates a trigger that fires when the included message count exceeds the specified maximum.

public static Microsoft.Agents.AI.Compaction.CompactionTrigger MessagesExceed(int maxMessages);
static member MessagesExceed : int -> Microsoft.Agents.AI.Compaction.CompactionTrigger
Public Shared Function MessagesExceed (maxMessages As Integer) As CompactionTrigger

Parameters

maxMessages
Int32

The message threshold.

Returns

A CompactionTrigger that evaluates included message count.

Applies to