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
void
setProgressHandler

Parameters

pace
Type: int

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

progressHandler

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

See Also

Meta