SearchQueryException constructor (String, Exception)

Initializes a new instance of the SearchQueryException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Sub New ( _
    strMessage As String, _
    innerEx As Exception _
)
'Usage
Dim strMessage As String
Dim innerEx As Exception

Dim instance As New SearchQueryException(strMessage, _
    innerEx)
public SearchQueryException(
    string strMessage,
    Exception innerEx
)

Parameters

  • strMessage
    Type: System.String

    A string containing the error message.

  • innerEx
    Type: System.Exception

    A System.Exception object representing the error that triggered this exception.

See also

Reference

SearchQueryException class

SearchQueryException members

SearchQueryException overload

Microsoft.Office.Server.Search.Query namespace