次の方法で共有


ServiceNotFoundException constructor (String, Exception)

Initializes a new instance of the ServiceNotFoundException 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.Analytics
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Sub New ( _
    msg As String, _
    inner As Exception _
)
'Usage
Dim msg As String
Dim inner As Exception

Dim instance As New ServiceNotFoundException(msg, inner)
public ServiceNotFoundException(
    string msg,
    Exception inner
)

Parameters

  • msg
    Type: System.String

    A [System.String] object containing the error message.

  • inner
    Type: System.Exception

    A [System.Exception] object containing the inner exception.

See also

Reference

ServiceNotFoundException class

ServiceNotFoundException members

ServiceNotFoundException overload

Microsoft.Office.Server.Search.Analytics namespace