Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UnitTestAssertException Constructor (String)

UnitTestAssertException Constructor (String)

Initializes a new instance of the UnitTestAssertException class with a specified error.

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

protected UnitTestAssertException(
	string msg


Type: System.String

The error message that explains the reason for the exception.

© 2015 Microsoft