Subsystem.EnableComponents Method

This method transiently or persistently enables monitor event generation for one or more product components. Parameter componentsToEnable is a bitmask composed of the bitwise OR of enumerators from enumeration Monitor.Subsystem.MonitorComponent, where the set bits represent the product components that will have event generation enabled. If parameter persistent is true, the persistent configuration is changed, otherwise the transient configuration is changed. If parameter persistent is false and the subsystem is not started, an exception is thrown, because the transient configuration only exists when the subsystem is started.

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

Syntax
public void EnableComponents(MonitorComponent componentsToEnable, bool enable, bool persistent);

Parameters

componentsToEnable

Specifies the components to enable event collection for.

enable

Determines whether the components specified in parameter componentsToEnable will be enabled.

persistent

If true, the persistent configuration is changed, otherwise the transient configuration is changed. If false, and the Subsystem is not started, an exception is thrown, because the transient configuration only exists when the Subsystem is started.

Implements

IMonitorSubsystem.ResetEvents
Exceptions
ExceptionCondition
RTX64Exception Thrown if this method is called without the RTX64 Runtime installed, or if parameter persistent is false and the RTX64 Runtime is not started.
See Also