CustomDataSourceAlwaysLoadOnApplicationThread Property

Spotfire 14.2 API Reference
Gets a value indicating whether this data source always should be loaded on the application thread. The default value is false.

Namespace:  Spotfire.Dxp.Application.Extension
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 64.0.19329.3263 (64.0.19329.3263)
Syntax

C#
protected virtual bool AlwaysLoadOnApplicationThread { get; }

Property Value

Type: Boolean
Remarks

Setting this to true means that data from this data source cannot be loaded or added in parallel. This might increase the time it takes to open a dxp-file with this data. Only set AlwaysLoadOnApplicationThread to true as a last resort if you are certain that your data source must be connected to on the application thread, or its reader must be executed on the application thread. Consider rewriting the data source to avoid having to set AlwaysLoadOnApplicationThread to true. Note that a data source should under no circumstance use any part of the document. Such use is unsupported, fragile and prone to bugs related to dependencies, concurrency and more.
Version Information

Supported in: 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4
See Also

Reference