Поделиться через


Конструктор DacServicesException (String, Exception)

Construct a new instance of the DacServicesException class with the specified error message and a reference to the inner exception that is the cause of this exception.

Пространство имен:  Microsoft.SqlServer.Dac
Сборка:  Microsoft.SqlServer.Dac (в Microsoft.SqlServer.Dac.dll)

Синтаксис

'Декларация
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Применение
Dim message As String 
Dim innerException As Exception 

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

Параметры

  • message
    Тип: System.String
    The message that describes the error.
  • innerException
    Тип: System.Exception
    The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

См. также

Справочник

DacServicesException Класс

Перегрузка DacServicesException

Пространство имен Microsoft.SqlServer.Dac