Compartilhar via


Construtor SfcException (String, Exception)

Initializes a new instance of the SfcException class with the specified error message and a reference to the inner exception that is the cause of this exception. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Protected Sub New ( _
    message As String, _
    innerException As Exception _
)
'Uso
Dim message As String 
Dim innerException As Exception 

Dim instance As New SfcException(message, _
    innerException)
protected SfcException(
    string message,
    Exception innerException
)
protected:
SfcException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> SfcException
protected function SfcException(
    message : String, 
    innerException : Exception
)

Parâmetros

  • message
    Tipo: System.String
    The message that describes the error.
  • innerException
    Tipo: System.Exception
    The exception that is the cause of the current exception.

Consulte também

Referência

SfcException Classe

Sobrecarregado SfcException

Namespace Microsoft.SqlServer.Management.Sdk.Sfc