WorkItem.Terminate Method

Terminates the work item.

Namespace: Microsoft.Practices.CompositeUI
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
Public Sub Terminate
'Usage
Dim instance As WorkItem

instance.Terminate
public void Terminate ()
public:
void Terminate ()
public void Terminate ()
public function Terminate ()

Remarks

Terminating the work item renders the work item invalid. Any calls to a work item after it has been terminated will result in undefined behavior.

See Also

Reference

WorkItem Class
WorkItem Members
Microsoft.Practices.CompositeUI Namespace