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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.