Delegate ProgresEvent
Callback invoked during a long-running operation to report progress (current of count)
and to let the handler request cancellation via the cancelar parameter.
Assembly: Reportman.Drawing.Forms.dll
public delegate void ProgresEvent(int current, int count, ref bool cancelar)
Parameters
| Type |
Name |
Description |
| int |
current |
Callback invoked during a long-running operation to report progress (current of count) and to let the handler request cancellation via the cancelar parameter. |
| int |
count |
Callback invoked during a long-running operation to report progress (current of count) and to let the handler request cancellation via the cancelar parameter. |
| bool |
cancelar |
Callback invoked during a long-running operation to report progress (current of count) and to let the handler request cancellation via the cancelar parameter. |
Constructors
View Source
Declaration
public ProgresEvent(object @object, nint method)
Parameters
Methods
View Source
Declaration
public virtual IAsyncResult BeginInvoke(int current, int count, ref bool cancelar, AsyncCallback callback, object @object)
Parameters
Returns
View Source
Declaration
public virtual void EndInvoke(ref bool cancelar, IAsyncResult result)
Parameters
View Source
Declaration
public virtual void Invoke(int current, int count, ref bool cancelar)
Parameters
| Type |
Name |
Description |
| int |
current |
|
| int |
count |
|
| bool |
cancelar |
|