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: StringThe error message.
queryText
Type: StringThe query string that caused the problem.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.