Show / Hide Table of Contents

Class ProgressHandler

Inheritance
object
ProgressHandler
Implements
IProgressHandler
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.BatchProcessing.Plugins
Assembly: SoBatchProcessing.dll
Syntax
public class ProgressHandler : IProgressHandler

Constructors

ProgressHandler(BatchTaskInfo, IBatchData)

Declaration
public ProgressHandler(BatchTaskInfo batchTaskInfo, IBatchData batchData)
Parameters
Type Name Description
BatchTaskInfo batchTaskInfo
IBatchData batchData

Fields

_batchTaskInfo

Declaration
public readonly BatchTaskInfo _batchTaskInfo
Field Value
Type Description
BatchTaskInfo

Properties

NumOperations

Declaration
public int NumOperations { get; set; }
Property Value
Type Description
int

Methods

IncrementProgressAsync(int, CancellationToken)

Declaration
public Task IncrementProgressAsync(int numOperationsDone, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int numOperationsDone
CancellationToken cancellationToken
Returns
Type Description
Task

SetProgressDescriptionAsync(string, CancellationToken)

Declaration
public Task SetProgressDescriptionAsync(string description, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string description
CancellationToken cancellationToken
Returns
Type Description
Task

Implements

IProgressHandler

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