ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Background task functions
  • Limit
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Deletes a background task (that was added by BackgroundTaskAdd).
Example
// Delete the background task for processing emails
BackgroundTaskDelete(ProcBackgroundEmailProcess)
Syntax
<Result> = BackgroundTaskDelete(<WLanguage procedure>)
<Result>: Boolean
  • True if the task was deleted,
  • False otherwise. To get more details on the error, use ErrorInfo.
<WLanguage procedure>: Procedure name
Name of WLanguage procedure corresponding to the background task to delete. The name of this procedure was specified when the task was added by BackgroundTaskAdd.
Remarks

Limit

Caution: You cannot delete through programming a background task automatically added via the procedure automation.
To delete these tasks, the corresponding option must be disabled in the window for configuring the procedure automation. The deletion will be effective during the next application start.
Business / UI classification: Business Logic
Component: wd290android.jar
Minimum version required
  • Version 23
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help