Class AssertFailedException
Defines an exception that is thrown when an assertion fails.
public class AssertFailedException : Exception, ISerializable
- Inheritance
-
AssertFailedException
- Implements
- Inherited Members
- Extension Methods
Constructors
AssertFailedException(string)
Initializes a new instance of the AssertFailedException class.
public AssertFailedException(string message)
Parameters
messagestringThe message that describes the assertion failure.