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

Initializes a new instance of the WrongPropertyValueException class with the specified message and specified inner exception.

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

Синтаксис

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

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

Параметры

  • message
    Тип: System.String
    A String value that specifies the message text that is associated with the wrong property value exception.
  • innerException
    Тип: System.Exception
    An Exception system object value that specifies the exception that caused the wrong property value exception.

Примеры

Обработка исключений SMO

См. также

Справочник

WrongPropertyValueException Класс

Перегрузка WrongPropertyValueException

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