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.
Initializes a new instance of the UnitTestAssertException class with a specified error.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Protected Sub New ( _
msg As String _
)
protected UnitTestAssertException(
string msg
)
protected:
UnitTestAssertException(
String^ msg
)
new :
msg:string -> UnitTestAssertException
protected function UnitTestAssertException(
msg : String
)
Parameters
msg
Type: StringThe error message that explains the reason for the 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.