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::RethrowIfAssertException Method (Exception^)

 

Throws the exception again if it is an AssertFailedException or an AssertInconclusiveException.

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

protected:
void RethrowIfAssertException(
	Exception^ exception
)

Parameters

exception
Type: System::Exception^

The exception to throw if it is an assertion exception.

Return to top
Show: