Partilhar via


Construtor ExpressionSerializationException (String, String)

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

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
Public Sub New ( _
    nameRead As String, _
    nameExpected As String _
)
'Uso
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
)

Parâmetros

  • nameRead
    Tipo: System.String
    A String value that specifies the name that is read during the serialization.
  • nameExpected
    Tipo: System.String
    A String value that specifies the name that is expected during serialization.

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Exemplos

Manipulando exceções SMO

Consulte também

Referência

ExpressionSerializationException Classe

Sobrecarregado ExpressionSerializationException

Namespace Microsoft.SqlServer.Management.Dmf