IntervalZero RTX64 Managed Code Framework
SubsystemSetTriggers Method (MF_EVENT_KIND, SubsystemTriggerKinds) |
This method sets the specified triggers to happen when the specified kind of event
(parameter eventKind) is generated. Parameter triggers contains one or
more of the flag enumerators from enumeration TriggerKinds specifying the
triggers to be set for this kind of event. If the Subsystem is not started, this method
throws an exception of type RTX64Exception containing an explanatory error
message. This method can be called when monitoring is stopped or started. It takes
effect immediately. If any of the specified triggers are already set, they remain set.
These flag enumerators can be mixed with each other using bitwise operators.
The following kinds of monitoring events cannot have triggers set on them. Attempting
to do so will cause an exception of type RTX64Exception to be thrown:
Namespace:
IntervalZero.RTX64.Monitor- MF_EVENT_KIND_RESERVED (Reserved)
- MF_EVENT_KIND_BUGCHECK_RTSS_RESERVED (Bugcheck RTSS)
- MF_EVENT_KIND_MARKER (Marker)
- MF_EVENT_KIND_SUBSYSTEM_STOP (Subsystem Stop)
- MF_EVENT_KIND_FAST_SEMAPHORE_ACQUIRE (Fast Semaphore Acquire)
- MF_EVENT_KIND_FAST_SEMAPHORE_RELEASE (Fast Semaphore Release)
- MF_EVENT_KIND_FAST_SEMAPHORE_RELEASE_ALL (Fast Semaphore Release All)
- MF_EVENT_KIND_WFSOEX_WAIT (WaitForSingleObjectEx Wait)
- MF_EVENT_KIND_WFMOEX_WAIT (WaitForMultipleObjectEx Wait)
- MF_EVENT_KIND_THREAD_SLEEP (Thread Sleep)
Assembly: IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 3.3.0.0 (File version: 3.5.0)

Parameters
- eventKind
- Type: IntervalZero.RTX64.MonitorMF_EVENT_KIND
- triggers
- Type: IntervalZero.RTX64.MonitorSubsystemTriggerKinds
Implements
IMonitorSubsystemSetTriggers(MF_EVENT_KIND, SubsystemTriggerKinds)
Exception | Condition |
---|---|
RTX64Exception | Thrown if this method is used without the RTX64 Runtime installed. |
