Subsystem.SetMaxEventsInSession Method

Sets the transient value of the number of events to save in a monitor session.

Namespace:  IntervalZero.RTX64.Monitor
Assembly:  IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 4.0.0.0 (File version: 4.5.0)

Syntax
public void SetMaxEventsInSession(
  uint count
	bool persistent
)

Parameters

persistent

Type: Boolean

If TRUE, this method sets the persistent number of events to save in a monitor session to count. If FALSE, this method sets the transient number of events to save in a monitor session to count.

count

Type: Uint32

The number of events to save in a monitor session. If this value equals the constant IntervalZero.RTX64.Monitor.Subsystem.UnlimitedMaxEventsInSession (0xFFFFFFFF), this API sets maximum number of monitor events in a session to unlimited.


Return Values

If parameter persistent is TRUE, this method sets the persistent number of events to save in a monitor session to count.

If parameter persistent is FALSE, this method sets the transient number of events to save in a monitor session to count. If the Subsystem is not started, an exception is thrown.

Implements

IMonitorSubsystem.SetMaxEventsInSession(uint)
Exceptions
ExceptionCondition
RTX64Exception Thrown if this method is used without the RTX64 Runtime installed.
See Also