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.StringA string containing the error message.
innerEx
Type: System.ExceptionA System.Exception object representing the error that triggered this exception.