Share via


DeploymentItem.RecoverFromPersistence Method

Verifies that the current instance, as retrieved from the XML store, is valid.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Sub RecoverFromPersistence
public void RecoverFromPersistence()
public:
virtual void RecoverFromPersistence() sealed
abstract RecoverFromPersistence : unit -> unit  
override RecoverFromPersistence : unit -> unit
public final function RecoverFromPersistence()

Implements

IPersistable.RecoverFromPersistence()

Exceptions

Exception Condition
EqtDataException

The persisted parameters are no longer valid.

Remarks

If the parameters are valid, nothing occurs; otherwise, an exception is thrown.

.NET Framework Security

See Also

Reference

DeploymentItem Class

Microsoft.VisualStudio.TestTools.Common Namespace

EqtDataException

CheckDeploymentItem