Class ProgressCallback
Progress callback, invoked repeatedly during a long-running operation
Namespace: SuperOffice.CRM.Entities
Assembly: SoDataBase.dll
Syntax
public sealed class ProgressCallback : MulticastDelegate
Constructors
ProgressCallback(Object, IntPtr)
Progress callback, invoked repeatedly during a long-running operation
Declaration
public ProgressCallback(object object, IntPtr method)
Parameters
Type | Name | Description |
---|---|---|
Object | object | |
IntPtr | method |
Methods
BeginInvoke(Int32, Int32, ref Boolean, AsyncCallback, Object)
Progress callback, invoked repeatedly during a long-running operation
Declaration
public virtual IAsyncResult BeginInvoke(int total, int current, ref bool cancel, AsyncCallback callback, object object)
Parameters
Type | Name | Description |
---|---|---|
Int32 | total | |
Int32 | current | |
Boolean | cancel | |
AsyncCallback | callback | |
Object | object |
Returns
Type | Description |
---|---|
IAsyncResult |
EndInvoke(ref Boolean, IAsyncResult)
Progress callback, invoked repeatedly during a long-running operation
Declaration
public virtual void EndInvoke(ref bool cancel, IAsyncResult result)
Parameters
Type | Name | Description |
---|---|---|
Boolean | cancel | |
IAsyncResult | result |
Invoke(Int32, Int32, ref Boolean)
Progress callback, invoked repeatedly during a long-running operation
Declaration
public virtual void Invoke(int total, int current, ref bool cancel)
Parameters
Type | Name | Description |
---|---|---|
Int32 | total | |
Int32 | current | |
Boolean | cancel |
Extension Methods
EnumUtil.MapEnums<From, To>(From)