Delegate ProgressCallback
Progress callback, invoked repeatedly during a long-running operation
Assembly: SoDataBase.dll
Syntax
public delegate void ProgressCallback(int total, int current, ref bool cancel);
Parameters
Type |
Name |
Description |
Int32 |
total |
The current estimated total size of the operation; may change!
|
Int32 |
current |
The current progress point
|
Boolean |
cancel |
Should the operation be cancelled? Initialized to false when invoked
|
Constructors
ProgressCallback(Object, IntPtr)
Declaration
public ProgressCallback(object object, IntPtr method)
Parameters
Methods
BeginInvoke(Int32, Int32, ref Boolean, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(int total, int current, ref bool cancel, AsyncCallback callback, object object)
Parameters
Returns
EndInvoke(ref Boolean, IAsyncResult)
Declaration
public virtual void EndInvoke(ref bool cancel, IAsyncResult result)
Parameters
Invoke(Int32, Int32, ref Boolean)
Declaration
public virtual void Invoke(int total, int current, ref bool cancel)
Parameters
Extension Methods
EnumUtil.MapEnums<From, To>(From)