Export (0) Print
Expand All

Assert.Fail Method

Fails an assertion without checking any conditions.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Fail() Fails the assertion without checking any conditions.
Public method Static member Fail(String) Fails the assertion without checking any conditions. Displays a message.
Public method Static member Fail(String, Object[]) Fails the assertion without checking any conditions. Displays a message, and applies the specified formatting to it.
Top
Show:
© 2015 Microsoft