VWorks software calls the
GetDescription method to get the description for the specified task from the plugin. Depending on the value of the
Verbose parameter, the plugin returns one of following:
VWorks software calls the
GetDescription method whenever it needs to render the task description. This enables the description to change dynamically. However, if the
GetDescription method is not implemented,
VWorks software gets the task description by calling the
GetMetaData method. The description returned with this method call is static. See
“GetMetaData method” .
VWorks software passes a Boolean value into the
Verbose parameter of the
GetDescription method to tell the plugin which type of description to send: dynamic or short.
VWorks software also passes a Command XML block into the
CommandXML parameter.
The Command XML block contains the Command element and all its children. This XML block describes the specified task.
Although VWorks software passes other XML metadata in the Command XML block, this information is of no interest to the plugin.
The Command element contains one
Parameters element and has the following attributes:
The Parameters element contains one or more
Parameter elements.
The Parameter element can contain one
Ranges elements and has the following attributes:
The following code is a Command XML block that is received by the plugin from
VWorks software as a string in the
CommandXML parameter of the
GetDescription method.
VWorks software asks the plugin for a description of the
Execute a method task. If the value of the
Verbose parameter is
VARIANT_TRUE,
VWorks software is requesting a full, dynamic description of the task. If the value is
VARIANT_FALSE,
VWorks software is requesting a short description of the task.