Subsystem.DisableMonitorEvents Method (MF_EVENT_KIND, Boolean)

This method disables the event specified by parameter monitorEvent, either in the Persistent Event Set or the Transitent Event Set (depending on the value of parameter persistent).

Namespace:  IntervalZero.MaxRT.wRTOS.Monitor
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.0)

Syntax

Copy
public MF_EVENT_KIND[] DisableMonitorEvents(
    MF_EVENT_KIND monitorEvent,
    bool persistent
)

Parameters

monitorEvent

Type: IntervalZero.MaxRT.wRTOS.Monitor.MF_EVENT_KIND
Specifies the monitoring event to disable.

persistent

Type: System.Boolean
If set to true, the event will be disabled in the Persistent Event Set, and the change will not take affect until monitoring is next enabled, otherwise the event will be disabled in the Transient Event Set.

Return Value

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

Implements

IMonitorSubsystem.DisableMonitorEvents (MF_EVENT_KIND, Boolean)

Exceptions

Exception Condition

wRTOSException

Thrown if this method is used without the wRTOS Runtime installed.

See Also: