Subsystem.EnableMonitorEvents Method (MF_EVENT_KIND(), Boolean)

Enables the specified monitoring events, either in the Persistent Event Set or the Transient Event Set, depending on the value of parameter persistent.

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

Syntax
public MF_EVENT_KIND[] EnableMonitorEvents(
	MF_EVENT_KIND[] monitorEventList,
	bool persistent
)

Parameters

monitorEventList
Type: IntervalZero.RTX64.Monitor.MF_EVENT_KIND
A array specifying which events to enable. This array should only contain enumerators of events to be enabled.
persistent
Type: System.Boolean
If set to true, the events will be enabled in the Persistent Event Set, and the change will not take affect until monitoring is next enabled, otherwise the events will be enabled in the Transient Event Set.

Return Value

Type: MF_EVENT_KIND
An array specifying the current set of enabled events (either persistent or transient, depending on the value of parameter persistent).

Implements

IMonitorSubsystem.EnableMonitorEvents(MF_EVENT_KIND, Boolean)
Exceptions
ExceptionCondition
RTX64Exception Thrown if this method is used without the RTX64 Runtime installed.
See Also