WorkItemSetImmutableResult Method

Spotfire 14.3 API Reference
Sets the immutable result.

Namespace:  Spotfire.Dxp.Framework.Threading
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public void SetImmutableResult(
	Object result
)

Parameters

result
Type: SystemObject
The result.
Exceptions

ExceptionCondition
InvalidOperationExceptionThrown if called twice.
ArgumentExceptionThrown if the result cannot get cached.
Remarks

If the result is a cacheable object, the immutable result property will return the wrapped object. Allowed result values are:
  • null
  • string
  • int
  • uint
  • short
  • ushort
  • byte
  • DateTime
  • TimeSpan
  • double
  • float
  • decimal
  • long
  • bool
  • CacheableObject
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