Compartir a través de


VsTestClassBase.Dispose Method

Releases the resources used by the current instance of the VsTestClassBase class.

Namespace: Microsoft.SpecExplorer.Runtime.Testing
Assembly: Microsoft.SpecExplorer.Runtime.VisualStudio (in Microsoft.SpecExplorer.Runtime.VisualStudio.dll)

Usage

'Usage

Syntax

'Declaration
public void Dispose ()

Remarks

When you are finished using this instance of VsTestClassBase, call the Dispose method to release all resources used by this instance. You should eliminate further references to this VsTestClassBase instance so that the garbage collector can reclaim the memory of the instance instead of keeping it alive for finalization.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

VsTestClassBase Class
VsTestClassBase Members
Microsoft.SpecExplorer.Runtime.Testing Namespace