protected virtual bool HandleOnExit(ref bool isError) { return HandleOnExitCallback != null && HandleOnExitCallback(ref isError, this); }