InvalidQueryException Constructor (String, Exception, String)
Initializes a new instance of the InvalidQueryException class by using the provided message, inner exception, 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, _
innerException As Exception, _
queryText As String _
)
public InvalidQueryException(
string message,
Exception innerException,
string queryText
)
public:
InvalidQueryException(
String^ message,
Exception^ innerException,
String^ queryText
)
new :
message:string *
innerException:Exception *
queryText:string -> InvalidQueryException
public function InvalidQueryException(
message : String,
innerException : Exception,
queryText : String
)
Parameters
message
Type: StringThe error message.
innerException
Type: ExceptionThe original exception that caused the current exception.
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.