ListAPIRegisterProgressCallback Method |
Register a callback function that is called when an progress event occurs.
Namespace: RAYLASE.SPICE3.ClientLibAssembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.5.2
Syntax public void RegisterProgressCallback(
Action<ClientAPI, int> action
)
Parameters
- action ActionClientAPI, Int32
- The callback function.
Remarks Note that this callback runs inside the clientLib context and can block the computation of other tasks. Consider calling
WaitForProgress(NullableInt32, NullableInt32) instead. The callback receives the listId and the progressId as parameters.
See Also