Represents an interface that can be implemented by a class to perform actions before and after persistence when it is called by the testing framework of Visual Studio Test Professional.
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Interface IPersistable
public interface IPersistable
public interface class IPersistable
type IPersistable =  interface end
public interface IPersistable
The IPersistable type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| .gif) | PrepareToPersist | Called by the testing framework before persistence occurs. | 
| .gif) | RecoverFromPersistence | Called by the testing framework after persistence has occurred. | 
Top