This documentation is archived and is not being maintained.
Assert.IsFalse Method (Boolean, String)
Visual Studio 2008
Verifies that the specified condition is false. The assertion fails if the condition is true. Displays a message if the assertion fails.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.