UnitTestAssertException, classe

Mise à jour : novembre 2007

Il s'agit de la classe de base des exceptions de tests unitaires.

Espace de noms :  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly :  Microsoft.VisualStudio.QualityTools.UnitTestFramework (dans Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntaxe

Public MustInherit Class UnitTestAssertException _
    Inherits Exception

Dim instance As UnitTestAssertException
public abstract class UnitTestAssertException : Exception
public ref class UnitTestAssertException abstract : public Exception
public abstract class UnitTestAssertException extends Exception

Notes

Cette classe est sérialisable.

Hiérarchie d'héritage

System.Object
  System.Exception
    Microsoft.VisualStudio.TestTools.UnitTesting.UnitTestAssertException
      Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException
      Microsoft.VisualStudio.TestTools.UnitTesting.AssertInconclusiveException
      Microsoft.VisualStudio.TestTools.UnitTesting.InternalTestFailureException

Sécurité des threads

Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.

Voir aussi

Référence

Membres UnitTestAssertException

Microsoft.VisualStudio.TestTools.UnitTesting, espace de noms