FlowsheetSolverCalculateObjectAsync(Object, CalculationArgs, CancellationToken) Method |
Calculates the flowsheet objects asynchronously. This function is always called from a task or a different thread other than UI's.
Namespace: DWSIM.FlowsheetSolverAssembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 8.8.1.0
Syntax public static void CalculateObjectAsync(
Object fobj,
CalculationArgs objArgs,
CancellationToken ct
)
Public Shared Sub CalculateObjectAsync (
fobj As Object,
objArgs As CalculationArgs,
ct As CancellationToken
)
Request Example
View SourceParameters
- fobj Object
- Flowsheet to calculate (FormChild object).
- objArgs CalculationArgs
- A CalculationArgs object containing information about the object to be calculated and its current status.
- ct CancellationToken
- The cancellation token, used to listen for calculation cancellation requests from the user.
See Also