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

Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the specified received name and expected name.

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

Синтаксис

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

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

Параметры

  • nameRead
    Тип: System.String
    A String value that specifies the name that is read 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