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

Initializes a new instance of the ExceptionAlreadyRegisteredException class with the specified received name and type, and expected name and type.

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

Синтаксис

'Декларация
Public Sub New ( _
    typeRead As String, _
    nameRead As String, _
    typeExpected As String, _
    nameExpected As String _
)
'Применение
Dim typeRead As String 
Dim nameRead As String 
Dim typeExpected As String 
Dim nameExpected As String 

Dim instance As New ExpressionSerializationException(typeRead, _
    nameRead, typeExpected, nameExpected)
public ExpressionSerializationException(
    string typeRead,
    string nameRead,
    string typeExpected,
    string nameExpected
)
public:
ExpressionSerializationException(
    String^ typeRead, 
    String^ nameRead, 
    String^ typeExpected, 
    String^ nameExpected
)
new : 
        typeRead:string * 
        nameRead:string * 
        typeExpected:string * 
        nameExpected:string -> ExpressionSerializationException
public function ExpressionSerializationException(
    typeRead : String, 
    nameRead : String, 
    typeExpected : String, 
    nameExpected : String
)

Параметры

  • typeRead
    Тип: System.String
    A String value that specifies the type that is read during the serialization.
  • nameRead
    Тип: System.String
    A String value that specifies the name that is read during serialization.
  • typeExpected
    Тип: System.String
    A String value that specifies the type that is expected during the serialization.
  • nameExpected
    Тип: System.String
    A String value that specifies the name that is expected during serialization.

Замечания

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

Примеры

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

См. также

Справочник

ExpressionSerializationException Класс

Перегрузка ExpressionSerializationException

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