Partager via


Constructeur ExpressionSerializationException (String, String)

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

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    nameRead As String, _
    nameExpected As String _
)
'Utilisation
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
)

Paramètres

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemples

Gestion des exceptions SMO

Voir aussi

Référence

ExpressionSerializationException Classe

Surcharge ExpressionSerializationException

Espace de noms Microsoft.SqlServer.Management.Dmf