[]
        
(Showing Draft Content)

C1.WPF.Document.IExecutionContext.OnLongOperation

OnLongOperation Method

OnLongOperation(double, bool)

Asynchronous method should call this method to notify about execution progress.

Declaration
bool OnLongOperation(double complete, bool canCancel)
Parameters
Type Name Description
double complete

Progress 0..1

bool canCancel

true indicates that operation can be cancelled at this moment.

Returns
Type Description
bool

If this method returns true then async operation should be cancelled.