Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Protected Sub RethrowIfAssertException ( _
exception As Exception _
)
protected void RethrowIfAssertException(
Exception exception
)
protected:
void RethrowIfAssertException(
Exception^ exception
)
member RethrowIfAssertException :
exception:Exception -> unit
protected function RethrowIfAssertException(
exception : Exception
)
Parameters
exception
Type: ExceptionThe exception to throw if it is an assertion exception.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.