Sage Modeling and Simulation Library

Model..::..AddErrorCheckHandlerWithModelAbortOnFailure Method

Adds a handler that, after transition to a specified state, will check the model for errors and if it finds any, will abort the model, putting it back to idle.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


public void AddErrorCheckHandlerWithModelAbortOnFailure(
	Enum onTransitionToWhichState
)

Parameters

onTransitionToWhichState
Type: Enum
The model state in which the model is to be checked for errors.