InvalidTestObjectException Constructor (String, Exception)

Initializes a new instance of the InvalidTestObjectException class by using the provided message and inner exception.

Namespace:  Microsoft.VisualStudio.TestTools.Exceptions
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

InvalidTestObjectException Class

InvalidTestObjectException Overload

Microsoft.VisualStudio.TestTools.Exceptions Namespace