Class MaintenanceBatchPlugin
WIP - this task runs in a loop, waiting 2 seconds between each loop. This test task does nothing and ends after 10 spins.
Implements
Inherited Members
BatchTaskBase.StartTask(Int32, String, String, BatchTaskStatusChanged)
BatchTaskBase.StartTask(BatchTaskInfo, String, BatchTaskStatusChanged)
BatchTaskBase.GetTaskInfo()
BatchTaskBase.EndTask()
BatchTaskBase.ProgressCallback(Int32, Int32, Boolean)
BatchTaskBase.SaveStreamToBlob(Stream, String, String, String)
BatchTaskBase.EnsureUdefs()
Namespace: SuperOffice.CRM.BatchProcessing.Plugins
Assembly: SoBatchProcessing.dll
Syntax
[BatchTask("MaintenanceBatchPlugin", Description = "Batch system maintenance", StartInterval = 3600, MinimumSleepTime = 1800, IsMultiPass = true)]
public class MaintenanceBatchPlugin : BatchTaskBase, IBatchTask, IPlugin
Constructors
MaintenanceBatchPlugin()
WIP - this task runs in a loop, waiting 2 seconds between each loop. This test task does nothing and ends after 10 spins.
Declaration
public MaintenanceBatchPlugin()
Fields
PluginName
WIP - this task runs in a loop, waiting 2 seconds between each loop. This test task does nothing and ends after 10 spins.
Declaration
public const string PluginName = "MaintenanceBatchPlugin"
Field Value
| Type | Description |
|---|---|
| String |
Methods
Run(String, String)
Does nothing - test task. Ends after 10 invocations.
Declaration
protected override bool Run(string name, string context)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| String | context |
Returns
| Type | Description |
|---|---|
| Boolean | True to indicate to success at doing nothing. |
Overrides
SuperOffice.CRM.BatchProcessing.Tasks.BatchTaskBase.Run(System.String, System.String)