Assert..::.Fail Method
This page is specific to:.NET Framework Version:2.03.54.0
Team Test API
Assert..::.Fail Method

Fails an assertion without checking any conditions.

Overload List

  NameDescription
ms244196.pubmethod(en-us,VS.90).gifms244196.static(en-us,VS.90).gifFail()()() Fails the assertion without checking any conditions.
ms244196.pubmethod(en-us,VS.90).gifms244196.static(en-us,VS.90).gifFail(String) Fails the assertion without checking any conditions. Displays a message.
ms244196.pubmethod(en-us,VS.90).gifms244196.static(en-us,VS.90).gifFail(String, array<Object>[]()[]) Fails the assertion without checking any conditions. Displays a message, and applies the specified formatting to it.
Top
See Also

Reference

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View