This documentation is archived and is not being maintained.

IPersistable Interface

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)

public interface IPersistable

The IPersistable type exposes the following members.

Public methodPrepareToPersistCalled by the testing framework before persistence occurs.
Public methodRecoverFromPersistenceCalled by the testing framework after persistence has occurred.