MotionDeviceAccessAddControlUpdated Method |
Add a handler for the ControlUpdated event.
Namespace:
Demo3D.PLC.Comms.CIP.Nodes.Motion
Assembly:
PLC (in PLC.dll) Version: 15.0.2.11458
Syntaxpublic void AddControlUpdated(
Action<UpdateFlags> handler,
CallbackContext callbackContext
)
Parameters
- handler
- Type: SystemActionUpdateFlags
Handler for ControlUpdated events to add. - callbackContext
- Type: Demo3D.NetCallbackContext
Defines the context in which the callback should be called.
Remarks
If callbackContext is CallerContext then handler is Demo3D thread safe.
It's called in the same thread (synchronization context) as the caller to this method.
See Also