Freigeben über


ExpressionSerializationException-Konstruktor (String, String, String, String)

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

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

Syntax

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

Parameter

  • typeRead
    Typ: System.String
    A String value that specifies the type that is read during the serialization.
  • nameRead
    Typ: System.String
    A String value that specifies the name that is read during serialization.
  • typeExpected
    Typ: System.String
    A String value that specifies the type that is expected 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