Share via


InvalidTestObjectException Constructor (Object)

Initializes a new instance of the InvalidTestObjectException class by using the provided test object.

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

Syntax

'Declaration
Public Sub New ( _
    invalid As Object _
)
public InvalidTestObjectException(
    Object invalid
)
public:
InvalidTestObjectException(
    Object^ invalid
)
new : 
        invalid:Object -> InvalidTestObjectException
public function InvalidTestObjectException(
    invalid : Object
)

Parameters

  • invalid
    Type: Object

.NET Framework Security

See Also

Reference

InvalidTestObjectException Class

InvalidTestObjectException Overload

Microsoft.VisualStudio.TestTools.Exceptions Namespace