ExpressionTypeMistmatchException Constructor (String, String)

Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the two specified types.

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

Syntax

'Declaration
Public Sub New ( _
    typeLeft As String, _
    typeRight As String _
)
'Usage
Dim typeLeft As String 
Dim typeRight As String 

Dim instance As New ExpressionTypeMistmatchException(typeLeft, _
    typeRight)
public ExpressionTypeMistmatchException(
    string typeLeft,
    string typeRight
)
public:
ExpressionTypeMistmatchException(
    String^ typeLeft, 
    String^ typeRight
)
new : 
        typeLeft:string * 
        typeRight:string -> ExpressionTypeMistmatchException
public function ExpressionTypeMistmatchException(
    typeLeft : String, 
    typeRight : String
)

Parameters

  • typeLeft
    Type: System.String
    A String value that specifies the first type that is associated with the exception.
  • typeRight
    Type: System.String
    A String value that specifies the second type that is associated with the exception.

Remarks

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

Examples

Handling SMO Exceptions

See Also

Reference

ExpressionTypeMistmatchException Class

ExpressionTypeMistmatchException Overload

Microsoft.SqlServer.Management.Dmf Namespace