dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteProgressCallback Delegate

On this page
    SQLiteProgressCallback Delegate
    On this page
    Represents the method that can be registered as a callback function to be called periodically during long running calls to the database.
    Syntax
    'Declaration
     
    Public Delegate Function SQLiteProgressCallback() As Integer
    public delegate int SQLiteProgressCallback()
    Remarks

    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.

    See Also