![]() |
VWorks software passes an Asynchronous Task Command XML block into the AsyncXML parameter of the Abort, Ignore, and Retry methods. The following table lists the XML components that are contained in this XML block for each method. The elements and attributes are described in the sections that follow. You can click an element name to jump to the appropriate section.The elements and attributes preceded by an asterisk are of interest to an implementer of the IWorksAsyncDriver interface.
Element name
Attribute name Abort — terminate a specific task Abort — terminate all executing tasks ✓ (multiple) The Command element contains one Parameters element, one Locations element, and one AsyncParameters element. The Command element has the following attributes.
*Name The name of the protocol that contains the asynchronous task.If the protocol has been saved, the value of this attribute is the protocol’s file path. If the protocol has not been saved, the value is the default protocol name.
*Name *Value The Range element has the following attribute:
The Value element contains the following attribute:
The value Async_TaskVWorksID.The task ID of the asynchronous task, which is automatically generated by VWorks software and used by VWorks software to identify and manage all asynchronous tasks from all plugins. The value Async_ErrorDescription. The value Async_TaskID.The task ID of the asynchronous task, which is generated by the plugin and used by the plugin to identify and manage its asynchronous tasks. The value Async_Location.