Compartilhar via


AssertFailedException Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the AssertFailedException class.

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

Overload List

  Name Description
Public method AssertFailedException() Initializes a new instance of the AssertFailedException class.
Public method AssertFailedException(String) Initializes a new instance of the AssertFailedException class that uses with a specified error message.
Protected method AssertFailedException(SerializationInfo, StreamingContext) Initializes a new instance of the AssertFailedException class with serialized data.
Public method AssertFailedException(String, Exception) Initializes a new instance of the AssertFailedException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Top

See Also

Reference

AssertFailedException Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace

Other Resources

Using the Assert Classes