Compartilhar via


ServiceNotFoundException constructor (String, Exception)

Inicializa uma nova instância da classe ServiceNotFoundException com uma mensagem de erro especificada e uma referência à exceção interna que é a causa dessa exceção.

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

Syntax

'Declaração
Public Sub New ( _
    msg As String, _
    inner As Exception _
)
'Uso
Dim msg As String
Dim inner As Exception

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

Parâmetros

  • msg
    Type: System.String

    Um objeto [System.String] que contém a mensagem de erro.

  • inner
    Type: System.Exception

    Um objeto [System.Exception] que contém a exceção interna.

Ver também

Referência

ServiceNotFoundException class

ServiceNotFoundException members

ServiceNotFoundException overload

Microsoft.Office.Server.Search.Analytics namespace