DocumentTaskEngineAbortTask Method

Aborts the currently executing task started by RunTask or RunTaskBlocking. Aborting may cause the host to crash so should only be used to stop a rogue, or long running document task. Any cleanup, database updating, and task scheduler notifications should be done prior to calling this method.

Definition

Namespace: OpenDiscoverSDK.Platform
Assembly: OpenDiscoverSDK (in OpenDiscoverSDK.dll) Version: 2026.2.6.0 (2026.02.06)
C#
public void AbortTask()

See Also