Export (0) Print
Expand All

AssertFailedException Class

Used to indicate failure for a test.

Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in microsoft.visualstudio.qualitytools.unittestframework.dll)

[SerializableAttribute] 
public class AssertFailedException : UnitTestAssertException
/** @attribute SerializableAttribute() */ 
public class AssertFailedException extends UnitTestAssertException
SerializableAttribute 
public class AssertFailedException extends UnitTestAssertException

This is thrown whenever an assertion fails.

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

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

Community Additions

ADD
Show:
© 2014 Microsoft