共用方式為


AssertInconclusiveException Constructor (String, Exception)

Initializes a new instance of the AssertInconclusiveException class with a specified error message and a reference to the inner exception that is the cause of this exception.

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

Syntax

'Declaration
Public Sub New ( _
    msg As String, _
    ex As Exception _
)
public AssertInconclusiveException(
    string msg,
    Exception ex
)
public:
AssertInconclusiveException(
    String^ msg, 
    Exception^ ex
)
new : 
        msg:string * 
        ex:Exception -> AssertInconclusiveException
public function AssertInconclusiveException(
    msg : String, 
    ex : Exception
)

Parameters

  • msg
    Type: String

    The error message that explains the reason for the exception.

  • ex
    Type: Exception

    The exception that is the cause of the current exception. If the parameter is not nulla null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

.NET Framework Security

See Also

Reference

AssertInconclusiveException Class

AssertInconclusiveException Overload

Microsoft.VisualStudio.TestTools.UnitTesting Namespace

Inconclusive

Other Resources

Using the Assert Classes