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 (String)

 

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

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

public AssertFailedException(
	string msg
)

Parameters

msg
Type: System.String

The message that describes the error.

Return to top
Show: