Set the state of the item to denote that it has been terminated before it finished
processing, the implementation of this method should issue the Terminated event.
| C# | Visual Basic | Visual C++ |
void Terminate()
Sub Terminate
void Terminate()