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.NoExceptionMessage Property


This API supports the product 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: System.String

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

Return to top