MSDN Library
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.

ExpectedExceptionBaseAttribute Constructor (String)

 

Initializes a new instance of the ExpectedExceptionBaseAttribute class.

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

protected ExpectedExceptionBaseAttribute(
	string noExceptionMessage
)

Parameters

noExceptionMessage
Type: System.String

If the test fails because an exception was not thrown, this message is included in the test result.

Initializes the no-exception message.

Return to top
Show:
© 2016 Microsoft