DataFunctionExecute Method (DataFunctionCompletionCallback)

Spotfire 14.3 API Reference
Asynchronously executes the data function with a callback when the execution has been finished. There is no guarantee regarding timing when the function will be executed and when it has finished executing.

Namespace:  Spotfire.Dxp.Data.DataFunctions
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public void Execute(
	DataFunctionCompletionCallback completionCallback
)

Parameters

completionCallback
Type: Spotfire.Dxp.Data.DataFunctionsDataFunctionCompletionCallback
The callback that will be called when the function has finished executing.
Remarks

Be careful when using the callback since it is easy to cause a deadlock if blocking on the result of the callback. The callback is not guaranteed to be executed on the application thread so invoke into the application thread if document modification is required.

There is no guarantee regarding timing when the function will be executed and when it has finished executing.

Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference