Show / Hide Table of Contents

Class FreetextIndexRowsBatchPlugin

Inheritance
object
BatchTaskBase
FreetextIndexRowsBatchPlugin
Implements
IBatchTask
Inherited Members
BatchTaskBase._isEnding
BatchTaskBase._statusUpdateInterval
BatchTaskBase._batchData
BatchTaskBase._internalCompletionSource
BatchTaskBase.RunTaskAsync(BatchTaskInfo, string, BatchTaskStatusChangedAsync, CancellationToken)
BatchTaskBase.GetTaskInfoAsync(CancellationToken)
BatchTaskBase.EndTaskAsync(CancellationToken)
BatchTaskBase.ProgressCallbackAsync(int, int, CancellationToken)
BatchTaskBase.SetResult(string)
BatchTaskBase.SaveStreamToBlobAsync(Stream, string, string, string, CancellationToken)
BatchTaskBase.EnsureUdefsAsync()
BatchTaskBase.Id
BatchTaskBase.BatchTaskInfo
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()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.BatchProcessing.Plugins
Assembly: SoBatchProcessing.dll
Syntax
[BatchTask("FreetextIndexRows")]
public class FreetextIndexRowsBatchPlugin : BatchTaskBase, IBatchTask

Constructors

FreetextIndexRowsBatchPlugin(IBatchData, IBatchServiceConfiguration, ILogger<FreetextIndexRowsBatchPlugin>)

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

Fields

PluginName

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

Methods

CreateTaskAsync(string, int[])

Declaration
public static Task<int> CreateTaskAsync(string table, int[] primaryKeys)
Parameters
Type Name Description
string table
int[] primaryKeys
Returns
Type Description
Task<int>

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
Task<bool>

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