Show / Hide Table of Contents

Class FreetextRegenBatchPlugin

Batch task wrapper for FreetextRegen synchronization

Inheritance
object
BatchTaskBase
FreetextRegenBatchPlugin
Implements
IBatchTask
Inherited Members
BatchTaskBase._internalCompletionSource
BatchTaskBase.RunTaskAsync(BatchTaskInfo, string, BatchTaskStatusChangedAsync, CancellationToken)
BatchTaskBase.GetTaskInfoAsync(CancellationToken)
BatchTaskBase.EndTaskAsync(CancellationToken)
BatchTaskBase.Name
BatchTaskBase.Context
BatchTaskBase.Result
BatchTaskBase.State
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: SuperOfficeCRMBatchProcessingPlugins
Assembly: SoBatchProcessing.dll
Syntax
[BatchTask("FreetextRegenBatchPlugin", Timeout = 7200)]
public sealed class FreetextRegenBatchPlugin : BatchTaskBase, IBatchTask

Constructors

FreetextRegenBatchPlugin(IBatchData, IBatchServiceConfiguration, ILogger<FreetextRegenBatchPlugin>)

Declaration
public FreetextRegenBatchPlugin(IBatchData batchData, ConfigFile.IBatchServiceConfiguration batchServiceConfiguration, ILogger<FreetextRegenBatchPlugin> logger)
Parameters
Type Name Description
IBatchData batchData
ConfigFileIBatchServiceConfiguration batchServiceConfiguration
ILoggerFreetextRegenBatchPlugin logger

Fields

PluginName

Declaration
public const string PluginName = "FreetextRegenBatchPlugin"
Field Value
Type Description
string

Methods

RunAsync(string, string, CancellationToken)

Run the task.

Declaration
protected override Task<bool> RunAsync(string name, string context, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string name

Name of the task.

string context

Context for the task.

CancellationToken cancellationToken
Returns
Type Description
Taskbool

True if the task succeeded.

Overrides
BatchTaskBase.RunAsync(string, string, CancellationToken)
Remarks

Call SetResult(string) as needed.

Implements

IBatchTask

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