Partager via


SearchQueryException Constructor (String)

Initializes a new instance of the SearchQueryException class with a specified error message.

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 _
)
'Usage
Dim strMessage As String

Dim instance As New SearchQueryException(strMessage)
public SearchQueryException(
    string strMessage
)

Parameters

  • strMessage
    Type: System.String

    A string containing the error message.

See Also

Reference

SearchQueryException Class

SearchQueryException Members

SearchQueryException Overload

Microsoft.Office.Server.Search.Query Namespace