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


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

Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the two specified types.

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

Синтаксис

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

Dim instance As New ExpressionTypeMistmatchException(typeLeft, _
    typeRight)
public ExpressionTypeMistmatchException(
    string typeLeft,
    string typeRight
)
public:
ExpressionTypeMistmatchException(
    String^ typeLeft, 
    String^ typeRight
)
new : 
        typeLeft:string * 
        typeRight:string -> ExpressionTypeMistmatchException
public function ExpressionTypeMistmatchException(
    typeLeft : String, 
    typeRight : String
)

Параметры

  • typeLeft
    Тип: System.String
    A String value that specifies the first type that is associated with the exception.
  • typeRight
    Тип: System.String
    A String value that specifies the second type that is associated with the exception.

Замечания

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

Примеры

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

См. также

Справочник

ExpressionTypeMistmatchException Класс

Перегрузка ExpressionTypeMistmatchException

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