Конструктор ObjectValidationException (String)

Initializes a new instance of the ObjectValidationException class that has the specified message text.

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

Синтаксис

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

Dim instance As New ObjectValidationException(message)
public ObjectValidationException(
    string message
)
public:
ObjectValidationException(
    String^ message
)
new : 
        message:string -> ObjectValidationException
public function ObjectValidationException(
    message : String
)

Параметры

  • message
    Тип: System.String
    A String value that specifies the message text that describes the event that caused the exception.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Примеры

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

См. также

Справочник

ObjectValidationException Класс

Перегрузка ObjectValidationException

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