Freigeben über


ExpressionSerializationException-Konstruktor (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 (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Sub New ( _
    nameRead As String, _
    nameExpected As String _
)
'Usage
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
)

Parameter

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiele

Behandeln von SMO-Ausnahmen

Siehe auch

Verweis

ExpressionSerializationException Klasse

ExpressionSerializationException-Überladung

Microsoft.SqlServer.Management.Dmf-Namespace