Task Long Processing Document Warning Handler Delegate
Task long processing document warning delegate.
Definition
Namespace: OpenDiscoverSDK.Platform
Assembly: OpenDiscoverSDK (in OpenDiscoverSDK.dll) Version: 2026.2.6.0 (2026.02.06)
Assembly: OpenDiscoverSDK (in OpenDiscoverSDK.dll) Version: 2026.2.6.0 (2026.02.06)
C#
public delegate void TaskLongProcessingDocumentWarningHandler(
string message,
List<Document> longRunningDocuments,
ref bool prepareForAbort
)Parameters
- message String
- Warning message.
- longRunningDocuments ListDocument
- List of documents that are still being processed with no perceivable work being completed in the last LongProcessingDocumentCriteriaInSec seconds.
- prepareForAbort Boolean
- Handlers should set to false if want to wait longer; Handlers should set to true if DocumentTaskEngine is to prepare for abort by closing output archive(s), to isolate long running documents by writing to "Aborted" folder, and then once all this is done fire the Completed event but with completedWithLongRunningDocument = true.