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

Initializes a new instance of the ConversionNotSupportedException class with the specified host and type.

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

Синтаксис

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

Dim instance As New ConversionNotSupportedException(host, typeName)
public ConversionNotSupportedException(
    string host,
    string typeName
)
public:
ConversionNotSupportedException(
    String^ host, 
    String^ typeName
)
new : 
        host:string * 
        typeName:string -> ConversionNotSupportedException
public function ConversionNotSupportedException(
    host : String, 
    typeName : String
)

Параметры

  • host
    Тип: System.String
    A String value that specifies the host that is associated with the conversion.
  • typeName
    Тип: System.String
    A String value that specifies the type that was being converted.

Замечания

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

Примеры

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

См. также

Справочник

ConversionNotSupportedException Класс

Перегрузка ConversionNotSupportedException

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