Partilhar via


Construtor SfcInvalidStateException (String, Exception)

Initializes a new instance of the SfcInvalidStateException 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
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Uso
Dim message As String 
Dim innerException As Exception 

Dim instance As New SfcInvalidStateException(message, _
    innerException)
public SfcInvalidStateException(
    string message,
    Exception innerException
)
public:
SfcInvalidStateException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> SfcInvalidStateException
public function SfcInvalidStateException(
    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

SfcInvalidStateException Classe

Sobrecarregado SfcInvalidStateException

Namespace Microsoft.SqlServer.Management.Sdk.Sfc