Click or drag to resize

BackgroundCalculationCaptureCalculationContext Method

Captures the calculation context of the calling thread. This is the context that will be passed to the new thread when RunWorkerAsync is called. This method cannot be called after RunWorkerAsync.

Namespace:  AGI.Foundation.Infrastructure.Threading
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public void CaptureCalculationContext()
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the background computation has already been started. The calculation context cannot be captured after this point.
See Also