Click or drag to resize

WorkflowOnStop Method

Contains the actual stop logic. The default implementation is empty, subclasses will have to provide the implementation by overriding this method. Implementers of this method do not have to check the state of the workflow or change the state of the workflow as this is already done by the public Stop method.

Namespace:  Enkoni.Framework
Assembly:  Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntax
protected virtual void OnStop()
Remarks
If the implementer detects a situation in which it cannot be stopped, it should throw an InvalidOperationException. This will cause the Workflow to move to the Faulted state.
See Also