Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ExpectedExceptionBaseAttribute.NoExceptionMessage Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

protected internal virtual string NoExceptionMessage { get; }

Property Value

Type: String

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

Show:
© 2015 Microsoft