Database.setProgressHandler

Registers a delegate of type ProgressHandlerDelegate as the progress handler.

Any previously set handler is released. Pass null to disable the callback.

struct Database
private public
void
setProgressHandler

Parameters

pace int

The approximate number of virtual machine instructions that are evaluated between successive invocations of the handler.

progressHandler ProgressHandlerDelegate

A delegate that should return 0 if the operation can continue or another value if it must be aborted.

See Also

Meta