CompactionTriggers.MessagesExceed(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.