WorkItem SetImmutableResult Method TIBCO Spotfire 6.0 API Reference
Sets the immutable result.

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

public void SetImmutableResult(
	Object result
)

Parameters

result
Type: System Object
The result.
Exceptions

ExceptionCondition
System InvalidOperationExceptionThrown if called twice.
System 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
See Also