共用方式為


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: String

    The error message.

  • innerException
    Type: Exception

    The original exception that caused the current exception.

  • 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