SubsystemSetTriggers Method |

Name | Description | |
---|---|---|
![]() | SetTriggers(SubsystemTriggerKinds()) |
This method sets the specified triggers to happen when certain kinds of events are
generated. Each element of array triggers specifies the triggers to set for the
kind of event specified by the enumerator in enumeration Monitor.MF_EVENT_KIND
that corresponds to the index in the array. Array triggers must contain exacly
MF_EVENT_KIND.MF_EVENT_KIND_MAX elements, otherwise an exception of type RTX64Exception
is thrown.
The triggers to be set correspond to the bits that are set in each
element of this array. If the Subsystem is not started, this throws method 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:
|
![]() | SetTriggers(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:
|
