WorkItem.DeleteState Method

Deletes the saved state of the WorkItem. The local copy of the state is not changed.

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

Syntax

'Declaration
Public Sub DeleteState
'Usage
Dim instance As WorkItem

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

Exceptions

Exception type Condition

ServiceMissingException

Thrown if the IStatePersistenceService is not registered in the WorkItem.

See Also

Reference

WorkItem Class
WorkItem Members
Microsoft.Practices.CompositeUI Namespace