Click or drag to resize

TaskLongProcessingDocumentWarningHandler Delegate

Task long processing document warning delegate.

Namespace: OpenDiscoverSDK.Platform
Assembly: OpenDiscoverSDK (in OpenDiscoverSDK.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
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.
See Also