다음을 통해 공유


WrongResultTypeException Constructor (String)

Initializes a new instance of the WrongResultTypeException 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 WrongResultTypeException(
    string msg
)
public:
WrongResultTypeException(
    String^ msg
)
new : 
        msg:string -> WrongResultTypeException
public function WrongResultTypeException(
    msg : String
)

Parameters

  • msg
    Type: String

    Message that describes the exception.

.NET Framework Security

See Also

Reference

WrongResultTypeException Class

WrongResultTypeException Overload

Microsoft.VisualStudio.TestTools.Exceptions Namespace