Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the TestCleanup method in the generated unit testing class.
Namespace: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting
Assembly: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in microsoft.visualstudio.teamsystem.data.unittesting.dll)
Syntax
'Declaration
Protected Sub CleanupTest
'Usage
Me.CleanupTest
protected void CleanupTest ()
protected:
void CleanupTest ()
protected void CleanupTest ()
protected function CleanupTest ()
Remarks
This method first disposes of the existing execution context and privileged context. It then creates a new privileged context to use while running the TestCleanupAction (if it is defined). It then disposes of this privileged context.
See Also
Reference
DatabaseTestClass Class
DatabaseTestClass Members
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace