ExpressionSerializationException Constructor (String, String, String, String)

 

Initializes a new instance of the T:Microsoft.SqlServer.Management.Dmf.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

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 Sub New (
    typeRead As String,
    nameRead As String,
    typeExpected As String,
    nameExpected As String
)

Parameters

  • typeRead
    Type: System.String

    A String value that specifies the type that is read during the serialization.

  • nameRead
    Type: System.String

    A String value that specifies the name that is read during serialization.

  • typeExpected
    Type: System.String

    A String value that specifies the type that is expected during the serialization.

  • nameExpected
    Type: System.String

    A String value that specifies the name that is expected during serialization.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Exceptions

See Also

ExpressionSerializationException Overload
ExpressionSerializationException Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top