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)

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
Public method PrepareToPersist Called by the testing framework before persistence occurs.
Public method RecoverFromPersistence Called by the testing framework after persistence has occurred.

Top

See Also

Reference

Microsoft.VisualStudio.TestTools.Common Namespace