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
Syntaxprotected virtual void OnStop()
Protected Overridable Sub OnStop
protected:
virtual void OnStop()
abstract OnStop : unit -> unit
override OnStop : unit -> unit
RemarksIf 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