Export (0) Print
Expand All

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.

Show:
© 2014 Microsoft