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


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

Initializes a new instance of the ObjectAlreadyExistsException 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 ObjectAlreadyExistsException(message)
public ObjectAlreadyExistsException(
    string message
)
public:
ObjectAlreadyExistsException(
    String^ message
)
new : 
        message:string -> ObjectAlreadyExistsException
public function ObjectAlreadyExistsException(
    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

См. также

Справочник

ObjectAlreadyExistsException Класс

Перегрузка ObjectAlreadyExistsException

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