Show / Hide Table of Contents

Delegate ProgressCallback

Progress callback, invoked repeatedly during a long-running operation

Namespace: SuperOffice.CRM.Entities
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
Type Name Description
Object object
IntPtr method

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
Type Name Description
Int32 total
Int32 current
Boolean cancel
AsyncCallback callback
Object object
Returns
Type Description
IAsyncResult

EndInvoke(ref Boolean, IAsyncResult)

Declaration
public virtual void EndInvoke(ref bool cancel, IAsyncResult result)
Parameters
Type Name Description
Boolean cancel
IAsyncResult result

Invoke(Int32, Int32, ref Boolean)

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)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top