共用方式為


InternalTestFailureException Constructor

Initializes a new instance of the InternalTestFailureException class without arguments.

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

Syntax

'Declaration
Public Sub New
public InternalTestFailureException()
public:
InternalTestFailureException()
new : unit -> InternalTestFailureException
public function InternalTestFailureException()

Remarks

This constructor initializes the message property of the new instance to a system-generated message that describes the error and takes into account the current system culture.

The following table shows the initial property values for an instance of InternalTestFailureException.

Property

Value

Inner Exception

nulla null reference (Nothing in Visual Basic).

Message

A system-supplied localized description.

.NET Framework Security

See Also

Reference

InternalTestFailureException Class

InternalTestFailureException Overload

Microsoft.VisualStudio.TestTools.UnitTesting Namespace