If the registered progress handler returns non-zero, the operation is interrupted.
If the progress handler throws an exception, the operation is interrupted, and the SQLiteException that is thrown has the SQLiteErrorCode.Interrupt error code and contains the exception from the handler in the InnerException property.
The handler must not do anything that will modify the connection it is registered in. This includes SQL statement preparation and execution, retrieving data, etc.