Click or drag to resize

ListAPIRegisterProgressCallback Method

Register a callback function that is called when an progress event occurs.

Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.12.1
Syntax
C#
public void RegisterProgressCallback(
	Action<ClientAPI, int> action
)

Parameters

action  ActionClientAPI, Int32
The callback function.
Remarks

Note that the notification thread will be blocked until all callbacks have been executed. If the callback cannot finish fast, then it is strongly recommended running its action asynchronously. Alternatively, you may consider calling WaitForProgress(NullableInt32, NullableInt32) instead.

The callback receives the progressId as parameter.

See Also