AssertFailedException Constructor
Initializes a new instance of the AssertFailedException class.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public Sub New
public AssertFailedException()
public:
AssertFailedException()
new : unit -> AssertFailedException
public function AssertFailedException()
Remarks
This uses a system supplied error message.
.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.
See Also
Reference
AssertFailedException Overload
Microsoft.VisualStudio.TestTools.UnitTesting Namespace