Share via


InvalidQueryException Constructor (String, String)

Initializes a new instance of the InvalidQueryException class by using the provided message and query string.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    queryText As String _
)
public InvalidQueryException(
    string message,
    string queryText
)
public:
InvalidQueryException(
    String^ message, 
    String^ queryText
)
new : 
        message:string * 
        queryText:string -> InvalidQueryException
public function InvalidQueryException(
    message : String, 
    queryText : String
)

Parameters

  • message
    Type: String

    The error message.

  • queryText
    Type: String

    The query string that caused the problem.

.NET Framework Security

See Also

Reference

InvalidQueryException Class

InvalidQueryException Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace