Export (0) Print
Expand All

ExpectedExceptionBaseAttribute Constructor

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

The no-exception message is initialized with the following default value:

Test method <test method name> did not throw an exception. An exception was expected by attribute <name of expected exception attribute> defined on the test method.

Show:
© 2014 Microsoft