다음을 통해 공유


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