Class SaintRegenBatchPlugin
Batch task wrapper for Saint synchronization
Implements
Inherited Members
Namespace: SuperOffice.CRM.BatchProcessing.Plugins
Assembly: SoBatchProcessing.dll
Syntax
[BatchTask("SaintRegenBatchPlugin")]
public sealed class SaintRegenBatchPlugin : BatchTaskBase, IBatchTask
Constructors
SaintRegenBatchPlugin(IBatchData, IBatchServiceConfiguration, ILogger<SaintRegenBatchPlugin>)
Batch task wrapper for Saint synchronization
Declaration
public SaintRegenBatchPlugin(IBatchData batchData, ConfigFile.IBatchServiceConfiguration batchServiceConfiguration, ILogger<SaintRegenBatchPlugin> logger)
Parameters
| Type | Name | Description |
|---|---|---|
| IBatchData | batchData | |
| ConfigFile.IBatchServiceConfiguration | batchServiceConfiguration | |
| ILogger<SaintRegenBatchPlugin> | logger |
Fields
PluginName
Batch task wrapper for Saint synchronization
Declaration
public const string PluginName = "SaintRegenBatchPlugin"
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 |
|---|---|
| Task<bool> | True if the task succeeded. |
Overrides
Remarks
Call SetResult(string) as needed.