共用方式為


InternalTestFailureException Constructor (String)

Initializes a new instance of the InternalTestFailureException class with a specified error message.

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

Syntax

'Declaration
Public Sub New ( _
    msg As String _
)
public InternalTestFailureException(
    string msg
)
public:
InternalTestFailureException(
    String^ msg
)
new : 
        msg:string -> InternalTestFailureException
public function InternalTestFailureException(
    msg : String
)

Parameters

  • msg
    Type: String

    The error message string.

Remarks

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

Property

Value

Inner Exception

nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

InternalTestFailureException Class

InternalTestFailureException Overload

Microsoft.VisualStudio.TestTools.UnitTesting Namespace