Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AssertFailedException Constructor

 

Initializes a new instance of the AssertFailedException class.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

NameDescription
System_CAPS_pubmethodAssertFailedException()

Initializes a new instance of the AssertFailedException class.

System_CAPS_protmethodAssertFailedException(SerializationInfo, StreamingContext)

Initializes a new instance of the AssertFailedException class with serialized data.

System_CAPS_pubmethodAssertFailedException(String)

Initializes a new instance of the AssertFailedException class that uses with a specified error message.

System_CAPS_pubmethodAssertFailedException(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.

Return to top
Show: