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: 21.1.408.0 (21.1.408.0)
public void CaptureCalculationContext()
InvalidOperationException Thrown when the background computation has already been started. The calculation context cannot be captured after this point.
See Also