Udostępnij za pośrednictwem


UnitTestAssertException Class

This is the base class for unit test exceptions.

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

Syntax

'Declaration
Public MustInherit Class UnitTestAssertException _
    Inherits Exception
'Usage
Dim instance As UnitTestAssertException
public abstract class UnitTestAssertException : Exception
public ref class UnitTestAssertException abstract : public Exception
public abstract class UnitTestAssertException extends Exception

Remarks

This class is serializable.

Inheritance Hierarchy

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

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.

See Also

Reference

UnitTestAssertException Members

Microsoft.VisualStudio.TestTools.UnitTesting Namespace