IPersistable Interface

Definition

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.

C++
public interface class IPersistable
Derived

Methods

PrepareToPersist()

Called by the testing framework before persistence occurs.

RecoverFromPersistence()

Called by the testing framework after persistence has occurred.

Applies to

Product Versies
Visual Studio SDK 2017, 2019, 2022