Share via


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.

public interface class IPersistable
public interface IPersistable
type IPersistable = interface
Public Interface IPersistable
Derived

Methods

PrepareToPersist()

Called by the testing framework before persistence occurs.

RecoverFromPersistence()

Called by the testing framework after persistence has occurred.

Applies to