Share via


InvalidTestObjectException Constructor (String)

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

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

Syntax

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

Parameters

  • msg
    Type: String

    Message that describes the exception.

.NET Framework Security

See Also

Reference

InvalidTestObjectException Class

InvalidTestObjectException Overload

Microsoft.VisualStudio.TestTools.Exceptions Namespace