Asynchronous object method: You must define
at least one terminating event for tasks that refer to an asynchronous
object method . At runtime, the relevant work item is only terminated when
a terminating events occurs (you may trigger the terminating event in your method implementation).
Synchronous object method: You can define a
terminating event for tasks that refer to a synchronous object
method . At runtime, the relevant work item is terminated when the
synchronous method has been successfully executed or when one of the
terminating events occurs.
A terminating event applies to one instance of a task only, that is, to one specific work item. The work item in turn refers to one specific object for the object type. You must specify a connection to this object for the terminating event. The object is specified in the _WI_OBJECT_ID element.
No comments:
Post a Comment